NuTo
Numerics Tool
Public Member Functions | List of all members
NuTo::Constraint::Term Class Reference

stores constraint equation terms More...

#include <Term.h>

Public Member Functions

 Term (const NodeSimple &node, int component, double coefficient)
 ctor that sets all members so that the term consists of ... More...
 
const NodeSimpleGetNode () const
 getter for mNode More...
 
int GetComponent () const
 getter for mComponent More...
 
double GetCoefficient () const
 getter for mCoefficient More...
 
int GetConstrainedDofNumber () const
 

Detailed Description

stores constraint equation terms

Constructor & Destructor Documentation

NuTo::Constraint::Term::Term ( const NodeSimple node,
int  component,
double  coefficient 
)
inline

ctor that sets all members so that the term consists of ...

  • coefficient * node->GetDof(component) + ...
    Parameters
    nodenode reference
    componentcomponent in the dof vector of the node, has to be smaller than node.GetNumValues()
    coefficientcoefficient of the equation term

Member Function Documentation

double NuTo::Constraint::Term::GetCoefficient ( ) const
inline

getter for mCoefficient

int NuTo::Constraint::Term::GetComponent ( ) const
inline

getter for mComponent

int NuTo::Constraint::Term::GetConstrainedDofNumber ( ) const
inline
const NodeSimple& NuTo::Constraint::Term::GetNode ( ) const
inline

getter for mNode


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