OOFEM 3.0
Loading...
Searching...
No Matches
oofem::ReactionErrorCheckingRule Class Reference

Checks a reaction force value. More...

#include <errorcheckingexportmodule.h>

Inheritance diagram for oofem::ReactionErrorCheckingRule:
Collaboration diagram for oofem::ReactionErrorCheckingRule:

Public Member Functions

 ReactionErrorCheckingRule (const std ::string &line, double tol)
 ReactionErrorCheckingRule (InputRecord &ir, double tol)
bool check (Domain *domain, TimeStep *tStep) override
bool getValue (double &value, Domain *domain, TimeStep *tStep) override
const char * giveClassName () const override
Public Member Functions inherited from oofem::ErrorCheckingRule
 ErrorCheckingRule (double tol)
virtual ~ErrorCheckingRule ()=default
bool checkValue (double computedValue)

Protected Attributes

int dofid = 0
Protected Attributes inherited from oofem::ErrorCheckingRule
int tstep = 0
int tsubstep = 0
int number = 0
double tolerance = 0.
double value = 0.
double computedValue = 0.

Detailed Description

Checks a reaction force value.

Definition at line 158 of file errorcheckingexportmodule.h.

Constructor & Destructor Documentation

◆ ReactionErrorCheckingRule() [1/2]

◆ ReactionErrorCheckingRule() [2/2]

Member Function Documentation

◆ check()

◆ getValue()

bool oofem::ReactionErrorCheckingRule::getValue ( double & value,
Domain * domain,
TimeStep * tStep )
overridevirtual
Todo
These would be easier to use if they just returned some more useable structure. Perhaps embed inside a PrimaryField, or just some std::pair/tuple. Now we instead have two calls and have to decipher the information from that.

Implements oofem::ErrorCheckingRule.

Definition at line 620 of file errorcheckingexportmodule.C.

References oofem::FloatArray::at(), oofem::IntArray::at(), oofem::StructuralEngngModel::buildReactionTable(), oofem::StructuralEngngModel::computeReaction(), dofid, oofem::Domain::giveEngngModel(), oofem::DofManager::giveLabel(), oofem::Domain::giveNode(), oofem::Domain::giveNumber(), oofem::IntArray::giveSize(), oofem::EngngModel::isParallel(), oofem::ErrorCheckingRule::number, and OOFEM_WARNING.

◆ giveClassName()

const char * oofem::ReactionErrorCheckingRule::giveClassName ( ) const
inlineoverridevirtual

Implements oofem::ErrorCheckingRule.

Definition at line 168 of file errorcheckingexportmodule.h.

Member Data Documentation

◆ dofid

int oofem::ReactionErrorCheckingRule::dofid = 0
protected

The documentation for this class was generated from the following files:

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011