NuTo
Numerics Tool
DofNumbering.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "nuto/base/Group.h"
4 
8 
9 namespace NuTo
10 {
11 
12 namespace DofNumbering
13 {
14 
17 DofInfo Build(const Group<NodeSimple>& dofNodes, DofType dof, const Constraint::Constraints& constraints);
18 
20 std::vector<int> Get(const Group<NodeSimple>& dofNodes, int component = 0);
21 
22 } /* DofNumbering */
23 } /* NuTo */
Definition: DofType.h:8
stores constraint equations, separated by their dof type
Definition: Constraints.h:47
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)
Definition: DofNumbering.cpp:60
Definition: Exception.h:6
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.
Definition: DofNumbering.cpp:32
Definition: DofInfo.h:7
Ordered container class for elements, nodes and the like.
Definition: Group.h:15