NuTo
Numerics Tool
Functions
NuTo::DofNumbering Namespace Reference

Functions

DofInfo Build (const Group< NodeSimple > &dofNodes, DofType dof, const Constraint::Constraints &constraints)
 Builds the dof numbering for type dof for all the dofNodes and stores it at the dofNodes. More...
 
std::vector< int > Get (const Group< NodeSimple > &dofNodes, int component=0)
 Extracts the dof numbers from dofNodes for a given component (0 for scalar, x=0, y=1, z=2 for vector dofs) More...
 

Function Documentation

DofInfo NuTo::DofNumbering::Build ( const Group< NodeSimple > &  dofNodes,
DofType  dof,
const Constraint::Constraints constraints 
)

Builds the dof numbering for type dof for all the dofNodes and stores it at the dofNodes.

Remarks
Numbering starts at 0 with all the dofs that are not constrained. Constrained dofs have the highest numbers
std::vector< int > NuTo::DofNumbering::Get ( const Group< NodeSimple > &  dofNodes,
int  component = 0 
)

Extracts the dof numbers from dofNodes for a given component (0 for scalar, x=0, y=1, z=2 for vector dofs)