NuTo
Numerics Tool
Functions | Variables
DofNumbering.cpp File Reference
#include "nuto/mechanics/dofs/DofNumbering.h"

Functions

int InitialUnconstrainedNumbering (const Group< NodeSimple > &nodes)
 build dof numbering, starting at 0, for all nodes regardless of constraints More...
 
std::vector< int > GetStatusOfDofNumber (const Constraint::Constraints &constraints, DofType dof, int numDofs)
 Find the status (INDEPENDENT or dependent) for all dof numbers. More...
 

Variables

constexpr int INDEPENDENT = -1
 

Function Documentation

std::vector<int> GetStatusOfDofNumber ( const Constraint::Constraints constraints,
DofType  dof,
int  numDofs 
)

Find the status (INDEPENDENT or dependent) for all dof numbers.

Returns
The status vector contains two information. Value INDEPENDENT means, well..., independent. Any value other than that is the index of the equation where this dof is the dependent one.
int InitialUnconstrainedNumbering ( const Group< NodeSimple > &  nodes)

build dof numbering, starting at 0, for all nodes regardless of constraints

Returns
total number of dofs in nodes

Variable Documentation

constexpr int INDEPENDENT = -1