Loading...
Searching...
No Matches
pTraits< pointConstraint > Struct Reference

Template specialisation for pTraits<pointConstraint> to enable IO. More...

#include <pointConstraint.H>

Inheritance diagram for pTraits< pointConstraint >:
Collaboration diagram for pTraits< pointConstraint >:

Public Member Functions

 pTraits (const pointConstraint &obj)
 Copy construct from base class.
Public Member Functions inherited from pointConstraint
 pointConstraint ()
 Default construct zero-initialized.
 pointConstraint (const Tuple2< label, vector > &)
 Construct from components.
 pointConstraint (const label count, const vector &n)
 Construct from components.
 pointConstraint (Istream &)
 Construct from Istream. Handles ASCII only, since that is what Tuple2 does.
void applyConstraint (const vector &cd)
 Apply and accumulate the effect of the given constraint direction.
void combine (const pointConstraint &)
 Combine constraints.
tensor constraintTransformation () const
 Return the accumulated constraint transformation tensor.
void unconstrainedDirections (label &n, tensor &vecs) const
 Return the accumulated unconstrained directions. Directions coded as first n rows of tensor.
vector constrainDisplacement (const vector &disp) const
 Constrain a displacement.
Public Member Functions inherited from Tuple2< label, vector >
 Tuple2 ()=default
 Default construct.
const label & first () const noexcept
 Access the first element.
const vectorsecond () const noexcept
 Access the second element.

Static Public Attributes

static const char *const typeName

Additional Inherited Members

Public Types inherited from Tuple2< label, vector >
typedef label first_type
 Type of member first, the first template parameter (T1).
typedef vector second_type
 Type of member second, the second template parameter (T2).

Detailed Description

Template specialisation for pTraits<pointConstraint> to enable IO.

Definition at line 131 of file pointConstraint.H.

Constructor & Destructor Documentation

◆ pTraits()

pTraits ( const pointConstraint & obj)
inlineexplicit

Copy construct from base class.

Definition at line 72 of file pTraits.H.

Member Data Documentation

◆ typeName

const char* const typeName
static

Definition at line 133 of file pointConstraint.H.


The documentation for this struct was generated from the following files:
  • src/OpenFOAM/fields/pointPatchFields/pointPatchField/pointConstraint/pointConstraint.H
  • src/OpenFOAM/primitives/complex/complex.C