FEBio  1.5.0
Public Member Functions | Data Fields | Protected Member Functions
FELinearConstraintSet Class Reference

This class manages a group of linear constraints. More...

#include <FEAugLagLinearConstraint.h>

Public Member Functions

 FELinearConstraintSet (FEM *pfem)
 constructor
void add (FEAugLagLinearConstraint *plc)
 add a linear constraint to the list
void Residual (vector< double > &R)
 add the linear constraint contributions to the residual
void Stiffness ()
 add the linear constraint contributions to the stiffness matrix
bool Augment (int naug)
 do the augmentation
void Init ()
 initialization
void Serialize (DumpFile &ar)
 serialize data to archive

Data Fields

list< FEAugLagLinearConstraint * > m_LC
 list of linear constraints
FEMm_pfem
 pointer to FEM data
double m_tol
 augmentation tolerance
double m_eps
 penalty factor
int m_naugmax
 max nr of augmenations
int m_nID
 ID of manager.

Protected Member Functions

double constraint (FEAugLagLinearConstraint &LC)
 calculate the constraint value

Detailed Description

This class manages a group of linear constraints.


Member Function Documentation

bool FELinearConstraintSet::Augment ( int  naug)

do the augmentation

This function performs an augmentation, if the Lagrange multiplier has not converged

double FELinearConstraintSet::constraint ( FEAugLagLinearConstraint LC) [protected]

calculate the constraint value

This function calculates the current value of the constraint.

void FELinearConstraintSet::Residual ( vector< double > &  R)

add the linear constraint contributions to the residual

This function calculates the contribution to the residual.

void FELinearConstraintSet::Stiffness ( )

add the linear constraint contributions to the stiffness matrix

This function calculates the contribution to the stiffness matrix.


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