A Orientation class.
More...
#include <Orientation.h>
|
| | Orientation (unsigned=0, vec &&={}) |
| |
| | Orientation (const Orientation &)=default |
| |
| | Orientation (Orientation &&)=delete |
| |
| Orientation & | operator= (const Orientation &)=delete |
| |
| Orientation & | operator= (Orientation &&)=delete |
| |
| | ~Orientation () override=default |
| |
| void | update_axis (const vec &) |
| |
| virtual void | set_element_ptr (const Element *) |
| |
| virtual bool | is_nlgeom () const |
| |
| virtual OrientationType | get_orientation_type () const =0 |
| |
| double | get_length () const |
| |
| double | get_inclination () const |
| |
| const mat & | get_transformation () const |
| |
| virtual unique_ptr< Orientation > | get_copy ()=0 |
| |
| virtual void | update_status () |
| |
| virtual void | commit_status () |
| |
| virtual void | reset_status () |
| |
| virtual void | clear_status () |
| |
| virtual vec | to_local_vec (double) const |
| |
| virtual vec | to_global_vec (double) const |
| |
| virtual mat | to_global_mass_mat (double) const |
| |
| virtual mat | to_global_geometry_mat (double) const |
| |
| virtual mat | to_global_stiffness_mat (double) const |
| |
| virtual vec | to_local_vec (vec &&) const |
| |
| virtual vec | to_global_vec (vec &&) const |
| |
| virtual mat | to_global_mass_mat (mat &&) const |
| |
| virtual mat | to_global_geometry_mat (mat &&) const |
| |
| virtual mat | to_global_stiffness_mat (mat &&) const |
| |
| virtual vec | to_local_vec (const vec &) const =0 |
| | transform anything from global to local system e.g., disp -> disp, vel -> vel, acc -> acc, not applicable to conversion such as disp -> strain More...
|
| |
| virtual vec | to_global_vec (const vec &) const =0 |
| | transform anything from local to global system e.g., disp -> disp, vel -> vel, acc -> acc, not applicable to conversion such as disp -> strain More...
|
| |
| virtual mat | to_global_mass_mat (const mat &) const |
| | transform anything from local to global system e.g., stiffness -> stiffness. More...
|
| |
| virtual mat | to_global_geometry_mat (const mat &) const |
| |
| virtual mat | to_global_stiffness_mat (const mat &) const =0 |
| |
| | Tag (unsigned=0) |
| |
| | Tag (const Tag &)=default |
| |
| | Tag (Tag &&)=default |
| |
| Tag & | operator= (const Tag &)=delete |
| |
| Tag & | operator= (Tag &&)=delete |
| |
| virtual | ~Tag ()=default |
| |
| void | set_tag (unsigned) const |
| |
| unsigned | get_tag () const |
| |
| void | enable () |
| |
| void | disable () |
| |
| void | guard () |
| |
| void | unguard () |
| |
| bool | is_active () const |
| |
| bool | is_guarded () const |
| |
| virtual void | print () |
| |
A Orientation class.
The Orientation class handles transformations between coordinate systems. Be sure to call set_element_ptr() before updating anything.
- Author
- tlc
- Date
- 27/06/2018
- Version
- 0.1.0
◆ Orientation() [1/3]
| Orientation::Orientation |
( |
unsigned |
T = 0, |
|
|
vec && |
O = {} |
|
) |
| |
|
explicit |
◆ Orientation() [2/3]
◆ Orientation() [3/3]
◆ ~Orientation()
| Orientation::~Orientation |
( |
| ) |
|
|
overridedefault |
◆ check_element_ptr()
| void Orientation::check_element_ptr |
( |
| ) |
const |
|
protected |
◆ clear_status()
| void Orientation::clear_status |
( |
| ) |
|
|
virtual |
◆ commit_status()
| void Orientation::commit_status |
( |
| ) |
|
|
virtual |
◆ get_copy()
| virtual unique_ptr<Orientation> Orientation::get_copy |
( |
| ) |
|
|
pure virtual |
◆ get_inclination()
| double Orientation::get_inclination |
( |
| ) |
const |
◆ get_length()
| double Orientation::get_length |
( |
| ) |
const |
◆ get_orientation_type()
◆ get_transformation()
| const mat & Orientation::get_transformation |
( |
| ) |
const |
◆ is_nlgeom()
| bool Orientation::is_nlgeom |
( |
| ) |
const |
|
virtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ reset_status()
| void Orientation::reset_status |
( |
| ) |
|
|
virtual |
◆ set_element_ptr()
| void Orientation::set_element_ptr |
( |
const Element * |
E | ) |
|
|
virtual |
◆ to_global_geometry_mat() [1/3]
| mat Orientation::to_global_geometry_mat |
( |
const mat & |
| ) |
const |
|
virtual |
◆ to_global_geometry_mat() [2/3]
| mat Orientation::to_global_geometry_mat |
( |
double |
l | ) |
const |
|
virtual |
◆ to_global_geometry_mat() [3/3]
| mat Orientation::to_global_geometry_mat |
( |
mat && |
in | ) |
const |
|
virtual |
◆ to_global_mass_mat() [1/3]
| mat Orientation::to_global_mass_mat |
( |
const mat & |
| ) |
const |
|
virtual |
transform anything from local to global system e.g., stiffness -> stiffness.
- Returns
- variable in global system
Reimplemented in T3DL, T2DL, B3DOSL, B3DL, and B2DL.
◆ to_global_mass_mat() [2/3]
| mat Orientation::to_global_mass_mat |
( |
double |
l | ) |
const |
|
virtual |
◆ to_global_mass_mat() [3/3]
| mat Orientation::to_global_mass_mat |
( |
mat && |
in | ) |
const |
|
virtual |
◆ to_global_stiffness_mat() [1/3]
| virtual mat Orientation::to_global_stiffness_mat |
( |
const mat & |
| ) |
const |
|
pure virtual |
◆ to_global_stiffness_mat() [2/3]
| mat Orientation::to_global_stiffness_mat |
( |
double |
l | ) |
const |
|
virtual |
◆ to_global_stiffness_mat() [3/3]
| mat Orientation::to_global_stiffness_mat |
( |
mat && |
in | ) |
const |
|
virtual |
◆ to_global_vec() [1/3]
| virtual vec Orientation::to_global_vec |
( |
const vec & |
| ) |
const |
|
pure virtual |
transform anything from local to global system e.g., disp -> disp, vel -> vel, acc -> acc, not applicable to conversion such as disp -> strain
- Returns
- variable in global system
Implemented in T3DL, T2DL, B3DOSL, B3DL, B3DC, and B2DL.
◆ to_global_vec() [2/3]
| vec Orientation::to_global_vec |
( |
double |
l | ) |
const |
|
virtual |
◆ to_global_vec() [3/3]
| vec Orientation::to_global_vec |
( |
vec && |
in | ) |
const |
|
virtual |
◆ to_local_vec() [1/3]
| virtual vec Orientation::to_local_vec |
( |
const vec & |
| ) |
const |
|
pure virtual |
transform anything from global to local system e.g., disp -> disp, vel -> vel, acc -> acc, not applicable to conversion such as disp -> strain
- Returns
- variable in local system
Implemented in T3DL, T2DL, B3DOSL, B3DOSC, B3DL, B3DC, B2DL, and B2DC.
◆ to_local_vec() [2/3]
| vec Orientation::to_local_vec |
( |
double |
g | ) |
const |
|
virtual |
◆ to_local_vec() [3/3]
| vec Orientation::to_local_vec |
( |
vec && |
in | ) |
const |
|
virtual |
◆ update_axis()
| void Orientation::update_axis |
( |
const vec & |
O | ) |
|
◆ update_status()
| void Orientation::update_status |
( |
| ) |
|
|
virtual |
◆ update_transformation()
| virtual void Orientation::update_transformation |
( |
| ) |
|
|
protectedpure virtual |
◆ direction_cosine
| mat Orientation::direction_cosine |
|
protected |
◆ element_ptr
| const Element* Orientation::element_ptr = nullptr |
|
protected |
◆ inclination
| double Orientation::inclination = 0. |
|
protected |
◆ length
| double Orientation::length = 0. |
|
protected |
◆ z_axis
The documentation for this class was generated from the following files: