Project
Loading...
Searching...
No Matches
DOFSet Class Referenceabstract

#include <AlignmentDOF.h>

Inherited by InextensionalDOFSet, LegendreDOFSet, and RigidBodyDOFSet.

Public Types

enum class  Type : uint8_t { RigidBody , Legendre , Inextensional }
 

Public Member Functions

virtual ~DOFSet ()=default
 
virtual Type type () const =0
 
int nDOFs () const
 
virtual std::string dofName (int idx) const =0
 
virtual void fillDerivatives (const DerivativeContext &ctx, Eigen::Ref< Eigen::MatrixXd > out) const =0
 
bool isFree (int idx) const
 
void setFree (int idx, bool f)
 
void setAllFree (bool f)
 
int nFreeDOFs () const
 

Protected Member Functions

 DOFSet (int n)
 

Protected Attributes

std::vector< bool > mFree
 

Detailed Description

Definition at line 39 of file AlignmentDOF.h.

Member Enumeration Documentation

◆ Type

enum class DOFSet::Type : uint8_t
strong
Enumerator
RigidBody 
Legendre 
Inextensional 

Definition at line 42 of file AlignmentDOF.h.

Constructor & Destructor Documentation

◆ ~DOFSet()

virtual DOFSet::~DOFSet ( )
virtualdefault

◆ DOFSet()

DOFSet::DOFSet ( int  n)
inlineprotected

Definition at line 65 of file AlignmentDOF.h.

Member Function Documentation

◆ dofName()

virtual std::string DOFSet::dofName ( int  idx) const
pure virtual

◆ fillDerivatives()

virtual void DOFSet::fillDerivatives ( const DerivativeContext ctx,
Eigen::Ref< Eigen::MatrixXd >  out 
) const
pure virtual

◆ isFree()

bool DOFSet::isFree ( int  idx) const
inline

Definition at line 52 of file AlignmentDOF.h.

◆ nDOFs()

int DOFSet::nDOFs ( ) const
inline

Definition at line 49 of file AlignmentDOF.h.

◆ nFreeDOFs()

int DOFSet::nFreeDOFs ( ) const
inline

Definition at line 55 of file AlignmentDOF.h.

◆ setAllFree()

void DOFSet::setAllFree ( bool  f)
inline

Definition at line 54 of file AlignmentDOF.h.

◆ setFree()

void DOFSet::setFree ( int  idx,
bool  f 
)
inline

Definition at line 53 of file AlignmentDOF.h.

◆ type()

virtual Type DOFSet::type ( ) const
pure virtual

Member Data Documentation

◆ mFree

std::vector<bool> DOFSet::mFree
protected

Definition at line 66 of file AlignmentDOF.h.


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