![]() |
G+Smo
25.01.0
Geometry + Simulation Modules
|
A base class for boundary evaluators.
Used for evaluating some integral quantity defined on a part of a patch boundary, e.g. flow rate.
| T | real number type |
Inheritance diagram for gsFlowBndEvaluator< T >:Public Member Functions | |
| void | evaluate () |
| Evaluate the quantity, i.e., perform the integration over the given boundary part. | |
| T | getValue () |
| Get the computed value. | |
| gsFlowBndEvaluator (const gsFlowSolverParams< T > ¶ms) | |
| Constructor. | |
| gsFlowBndEvaluator (const gsFlowSolverParams< T > ¶ms, const std::vector< std::pair< int, boxSide > > &bndPart) | |
| Constructor. | |
| void | setBndPart (const std::vector< std::pair< int, boxSide > > &bndPart) |
| Set the boundary part, over which the quantity will be integrated. | |
| void | setPressureField (const gsField< T > &pressure) |
| Set the pressure field for evaluation. | |
| void | setSolutionFields (const gsField< T > &velocity, const gsField< T > &pressure) |
| Set the velocity and pressure fields for evaluation. | |
| void | setVelocityField (const gsField< T > &velocity) |
| Set the velocity field for evaluation. | |
Protected Member Functions | |
| virtual void | evalOnElement (index_t patchID, boxSide side, const gsMatrix< T > &quNodes, const gsVector< T > &quWeights) |
| Evaluate the quantity in one element of the boundary part. | |
| void | evalOnPatchSide (index_t patchID, boxSide side) |
| Evaluate the quantity over one patch side. | |
| void | initMembers () |
| Initialize the class members. | |
|
inline |
Constructor.
| [in] | params | the parameters of the given problem |
|
inline |
Constructor.
| [in] | params | the parameters of the given problem |
| [in] | bndPart | container of pairs (patch, side) defining the boundary part, over which the quantity will be integrated |
|
inlineprotectedvirtual |
Evaluate the quantity in one element of the boundary part.
| [in] | patchID | patch index |
| [in] | side | patch side |
| [in] | quNodes | quadrature nodes for the given element |
| [in] | quWeights | quadrature weights for the given element |
Reimplemented in gsFlowBndEvaluator_flowRate< T >.
Evaluate the quantity over one patch side.
| [in] | patchID | patch index |
| [in] | side | patch side |
|
inline |
Set the boundary part, over which the quantity will be integrated.
| [in] | bndPart | container of pairs (patch, side) defining the boundary part |
|
inline |
Set the pressure field for evaluation.
| [in] | pressure | the new pressure field |
|
inline |
Set the velocity and pressure fields for evaluation.
| [in] | velocity | the new velocity field |
| [in] | pressure | the new pressure field |
|
inline |
Set the velocity field for evaluation.
| [in] | velocity | the new velocity field |