NuTo
Numerics Tool
|
contains the nodes, elements and interpolations for a classic finite element mesh More...
#include <MeshFem.h>
Public Member Functions | |
MeshFem ()=default | |
MeshFem (const MeshFem &)=delete | |
MeshFem & | operator= (const MeshFem &)=delete |
MeshFem (MeshFem &&)=default | |
MeshFem & | operator= (MeshFem &&)=default |
InterpolationSimple & | CreateInterpolation (const InterpolationSimple &interpolation) |
adds a clone of interpolation to the mesh (prototype pattern) More... | |
NodeSimple & | NodeAtCoordinate (Eigen::VectorXd coords, double tol=1.e-10) |
selects a coordinate at given coords More... | |
NodeSimple & | NodeAtCoordinate (Eigen::VectorXd coords, DofType dofType, double tol=1.e-10) |
selects a node of type dofType at given coords More... | |
Group< NodeSimple > | NodesAtAxis (eDirection direction, DofType dofType, double axisOffset=0., double tol=1.e-10) |
selects all nodes of type dofType where the coord in direction is within tol More... | |
Group< NodeSimple > | NodesAtAxis (eDirection direction, double axisOffset=0., double tol=1.e-10) |
selects all coordinate nodes where the coord in direction is within tol More... | |
Group< NodeSimple > | NodesTotal (DofType dofType) |
selects all nodes of dofType More... | |
Group< NodeSimple > | NodesTotal () |
selects all coordinate nodes More... | |
Group< ElementCollectionFem > | ElementsTotal () |
selects all element collections More... | |
void | AllocateDofInstances (DofType dofType, int numInstances) |
Adds numInstances instances of zeros to all nodes of type dofType More... | |
Public Attributes | |
ValueVector< NodeSimple > | Nodes |
ValueVector< ElementCollectionFem > | Elements |
contains the nodes, elements and interpolations for a classic finite element mesh
|
default |
|
delete |
|
default |
void MeshFem::AllocateDofInstances | ( | DofType | dofType, |
int | numInstances | ||
) |
Adds numInstances
instances of zeros to all nodes of type dofType
dofType | dof type |
InterpolationSimple & MeshFem::CreateInterpolation | ( | const InterpolationSimple & | interpolation | ) |
adds a clone of interpolation
to the mesh (prototype pattern)
interpolation | interpolation that is cloned and added |
Group< ElementCollectionFem > MeshFem::ElementsTotal | ( | ) |
selects all element collections
NodeSimple & MeshFem::NodeAtCoordinate | ( | Eigen::VectorXd | coords, |
double | tol = 1.e-10 |
||
) |
selects a coordinate at given coords
coords | global coordinates |
tol | selection tolerance |
NodeSimple & MeshFem::NodeAtCoordinate | ( | Eigen::VectorXd | coords, |
DofType | dofType, | ||
double | tol = 1.e-10 |
||
) |
selects a node of type dofType
at given coords
coords | global coordinates |
dofType | dof type |
tol | selection tolerance |
Group< NodeSimple > MeshFem::NodesAtAxis | ( | eDirection | direction, |
DofType | dofType, | ||
double | axisOffset = 0. , |
||
double | tol = 1.e-10 |
||
) |
Group< NodeSimple > MeshFem::NodesAtAxis | ( | eDirection | direction, |
double | axisOffset = 0. , |
||
double | tol = 1.e-10 |
||
) |
Group< NodeSimple > MeshFem::NodesTotal | ( | DofType | dofType | ) |
selects all nodes of dofType
Group< NodeSimple > MeshFem::NodesTotal | ( | ) |
selects all coordinate nodes
ValueVector<ElementCollectionFem> NuTo::MeshFem::Elements |
ValueVector<NodeSimple> NuTo::MeshFem::Nodes |