|
IFEM
90A354
|
Traction field based on a given stress tensor function. More...
#include <TractionField.h>


Public Member Functions | |
| TractionField (const STensorFunc &field) | |
| Constructor initializing the symmetric tensor function pointer. | |
| TractionField (const TensorFunc &field) | |
| Constructor initializing the tensor function pointer. | |
| virtual | ~TractionField () |
| Empty destructor. | |
| virtual bool | isZero () const |
| Returns whether the function is identically zero or not. | |
| virtual Vec3 | deriv (const Vec3 &x, const Vec3 &n) const |
| Returns the time-derivative of the function. More... | |
Public Member Functions inherited from TractionFunc | |
| virtual bool | isNormalPressure () const |
| Returns whether the traction is always normal to the face or not. | |
| virtual Vec3 | timeDerivative (const Vec3 &, const Vec3 &) const |
| Returns the time-derivative of the function. | |
Public Member Functions inherited from utl::Function2< Vec3, Vec3 > | |
| virtual | ~Function2 () |
| Empty destructor. | |
| Vec3 | operator() (const Vec3 &x, const Vec3 &y) const |
| Operator returning the function value for the given arguments. | |
Protected Member Functions | |
| virtual Vec3 | evaluate (const Vec3 &x, const Vec3 &n) const |
| Evaluates the traction field function at the specified point. More... | |
Protected Member Functions inherited from utl::Function2< Vec3, Vec3 > | |
| Function2 () | |
| The constructor is protected to allow sub-class instances only. | |
Private Attributes | |
| const STensorFunc * | sigma |
| Symmetric tensor field to derive tractions from. | |
| const TensorFunc * | sigmaN |
| Tensor field to derive tractions from. | |
Additional Inherited Members | |
Public Types inherited from utl::Function2< Vec3, Vec3 > | |
| typedef Vec3 | Input |
| Input type. | |
| typedef Vec3 | Output |
| Output type. | |
Traction field based on a given stress tensor function.
This class defines an explicit traction field function based on a specified stress tensor field. The traction field is then evaluated simply as the inner-product σ ⋅ n of the stress tensor value σ and the outward-directed surface/edge normal vector n, which is provided as the second argument to the TractionField::evaluate() method.
Returns the time-derivative of the function.
| [in] | x | Global coordinates of evaluation point |
| [in] | n | Outward-directed unit normal vector at evaluation point |
References utl::SpatialFunction< Result >::deriv(), sigma, and sigmaN.
Evaluates the traction field function at the specified point.
| [in] | x | Global coordinates of evaluation point |
| [in] | n | Outward-directed unit normal vector at evaluation point |
Implements utl::Function2< Vec3, Vec3 >.