Class for creating a load that can be applied to a node or to a element.
More...
#include <Load.hpp>
|
| Load (unsigned int type) |
| Creates a Load in a finite element Mesh. More...
|
|
| Load (Eigen::VectorXd dir, std::vector< double > val, unsigned int type) |
| Creates a Load in a finite element Mesh. More...
|
|
| ~Load () |
| Destroys this Load object. More...
|
|
void | AddNodes (std::vector< unsigned int > tags) |
| Adds node that share this loaded. More...
|
|
void | AddFaces (std::vector< unsigned int > tags) |
| Adds face that share this loaded. More...
|
|
void | AddElements (std::vector< unsigned int > tags) |
| Adds element that share this loaded. More...
|
|
void | AddDRMCondition (unsigned int tag, bool cond) |
| Adds the exterior/interior condition for the domain reduction node. More...
|
|
unsigned int | GetClassification () const |
| Returns the load classification. More...
|
|
std::vector< unsigned int > | GetNodes () const |
| Returns the nodes index that share this load. More...
|
|
std::vector< unsigned int > | GetFaces () const |
| Returns the faces index that share this load. More...
|
|
std::vector< unsigned int > | GetElements () const |
| Returns the nodes index that share this load. More...
|
|
Eigen::VectorXd | GetLoadVector (unsigned int step=0) const |
| Returns the force vector to be applied. More...
|
|
bool | GetDRMCondition (unsigned int tag) |
| Returns the exterior/interior condition for the domain reduction node. More...
|
|
Class for creating a load that can be applied to a node or to a element.
- See also
- Node.hpp Element.hpp LoadCombo.hpp Mesh.hpp
◆ Load() [1/2]
Load::Load |
( |
unsigned int |
type | ) |
|
◆ Load() [2/2]
Load::Load |
( |
Eigen::VectorXd |
dir, |
|
|
std::vector< double > |
val, |
|
|
unsigned int |
type |
|
) |
| |
◆ ~Load()
Destroys this Load object.
◆ AddDRMCondition()
void Load::AddDRMCondition |
( |
unsigned int |
tag, |
|
|
bool |
cond |
|
) |
| |
◆ AddElements()
void Load::AddElements |
( |
std::vector< unsigned int > |
tags | ) |
|
◆ AddFaces()
void Load::AddFaces |
( |
std::vector< unsigned int > |
tags | ) |
|
◆ AddNodes()
void Load::AddNodes |
( |
std::vector< unsigned int > |
tags | ) |
|
Adds node that share this loaded.
- Parameters
-
tags | The list of Node identifier. |
- See also
- Node, Load::Tags.
◆ GetClassification()
unsigned int Load::GetClassification |
( |
| ) |
const |
◆ GetDRMCondition()
bool Load::GetDRMCondition |
( |
unsigned int |
tag | ) |
|
◆ GetElements()
std::vector<unsigned int> Load::GetElements |
( |
| ) |
const |
Returns the nodes index that share this load.
- Returns
- The Element list that this load is applied.
- See also
- Load::Tags.
◆ GetFaces()
std::vector<unsigned int> Load::GetFaces |
( |
| ) |
const |
Returns the faces index that share this load.
- Returns
- The Element face list that this load is applied.
- See also
- Load::Faces.
◆ GetLoadVector()
Eigen::VectorXd Load::GetLoadVector |
( |
unsigned int |
step = 0 | ) |
const |
Returns the force vector to be applied.
- Parameters
-
step | The time step at which the load is evaluated. |
- Returns
- The force vector to be applied at step.
- Note
- More details can be found at Load.
◆ GetNodes()
std::vector<unsigned int> Load::GetNodes |
( |
| ) |
const |
Returns the nodes index that share this load.
- Returns
- The Node list that this load is applied.
- See also
- Load::Tags.
◆ Classification
unsigned int Load::Classification |
|
private |
◆ DRMConditions
std::map<unsigned int, bool> Load::DRMConditions |
|
private |
Exterior/Interior condition for the domain reduction node.
◆ Faces
std::vector<unsigned int> Load::Faces |
|
private |
Index of element faces which share this load.
◆ ForceAmplitude
std::vector<double> Load::ForceAmplitude |
|
private |
Time varing coefficients:
◆ ForceDirection
Eigen::VectorXd Load::ForceDirection |
|
private |
Direction of applied force.
◆ Tags
std::vector<unsigned int> Load::Tags |
|
private |
Index of nodes/element which share this load.