49 #include <Eigen/Dense> 65 Load(
unsigned int type);
73 Load(Eigen::VectorXd dir, std::vector<double> val,
unsigned int type);
81 void AddNodes(std::vector<unsigned int> tags);
86 void AddFaces(std::vector<unsigned int> tags);
108 std::vector<unsigned int>
GetNodes()
const;
113 std::vector<unsigned int>
GetFaces()
const;
141 std::vector<unsigned int>
Tags;
void AddFaces(std::vector< unsigned int > tags)
Adds face that share this loaded.
Eigen::VectorXd ForceDirection
Direction of applied force.
Definition: Load.hpp:138
Eigen::VectorXd GetLoadVector(unsigned int step=0) const
Returns the force vector to be applied.
unsigned int Classification
Load classification.
Definition: Load.hpp:135
bool GetDRMCondition(unsigned int tag)
Returns the exterior/interior condition for the domain reduction node.
std::vector< unsigned int > Tags
Index of nodes/element which share this load.
Definition: Load.hpp:141
void AddNodes(std::vector< unsigned int > tags)
Adds node that share this loaded.
std::vector< double > ForceAmplitude
Time varing coefficients:
Definition: Load.hpp:147
std::vector< unsigned int > Faces
Index of element faces which share this load.
Definition: Load.hpp:144
Load(unsigned int type)
Creates a Load in a finite element Mesh.
void AddDRMCondition(unsigned int tag, bool cond)
Adds the exterior/interior condition for the domain reduction node.
std::vector< unsigned int > GetNodes() const
Returns the nodes index that share this load.
Class for creating a load that can be applied to a node or to a element.
Definition: Load.hpp:58
unsigned int GetClassification() const
Returns the load classification.
void AddElements(std::vector< unsigned int > tags)
Adds element that share this loaded.
std::map< unsigned int, bool > DRMConditions
Exterior/Interior condition for the domain reduction node.
Definition: Load.hpp:150
~Load()
Destroys this Load object.
std::vector< unsigned int > GetElements() const
Returns the nodes index that share this load.
std::vector< unsigned int > GetFaces() const
Returns the faces index that share this load.