Class ConstraintIBKinematics encapsulates structure information and provides abstraction to get kinematics (deformational or imposed) of immersed structure to ConstraintIBMethod class.
More...
#include </home/runner/work/IBAMR/IBAMR/include/ibamr/ConstraintIBKinematics.h>
Class ConstraintIBKinematics encapsulates structure information and provides abstraction to get kinematics (deformational or imposed) of immersed structure to ConstraintIBMethod class.
◆ getKinematicsVelocity()
virtual const std::vector<std::vector<double> >& IBAMR::ConstraintIBKinematics::getKinematicsVelocity |
( |
const int |
level | ) |
const |
|
pure virtual |
Get the kinematics velocity for the structure on the specified level.
- Parameters
-
level | Kinematics velocity of the structure on this level. |
◆ getShape()
virtual const std::vector<std::vector<double> >& IBAMR::ConstraintIBKinematics::getShape |
( |
const int |
level | ) |
const |
|
pure virtual |
Get the shape of structure on the specified level.
- Parameters
-
◆ putToDatabase()
Write out object state to the given database.
- Note
- An empty default implementation is provided.
Implements SAMRAI::tbox::Serializable.
◆ setKinematicsVelocity()
virtual void IBAMR::ConstraintIBKinematics::setKinematicsVelocity |
( |
const double |
time, |
|
|
const std::vector< double > & |
incremented_angle_from_reference_axis, |
|
|
const std::vector< double > & |
center_of_mass, |
|
|
const std::vector< double > & |
tagged_pt_position |
|
) |
| |
|
pure virtual |
Set the kinematics velocity (deformational or imposed) at Lagrangian points managed by this object.
- Parameters
-
time | Time at which kinematics velocity is to be set. |
incremented_angle_from_reference_axis | Angle made with x,y & z axis due to rigid rotational velocity. |
center_of_mass | COM of the structure at the given time. |
tagged_pt_position | Coordinates of the tagged point of the structure. |
◆ setShape()
virtual void IBAMR::ConstraintIBKinematics::setShape |
( |
const double |
time, |
|
|
const std::vector< double > & |
incremented_angle_from_reference_axis |
|
) |
| |
|
pure virtual |
Set the shape of structure at the required time. The shape should have its center of mass at origin, with appropriate rigid body ratation applied to it.
- Parameters
-
time | Time at which kinematics velocity is to be set. |
incremented_angle_from_reference_axis | Angle made with x,y & z axis due to rigid rotational velocity. . |
- Note
- The call to setShape() is made after setKinematicsVelocity( ) with the same value of the common arguments.
◆ d_object_name
std::string IBAMR::ConstraintIBKinematics::d_object_name |
|
protected |
◆ d_registered_for_restart
bool IBAMR::ConstraintIBKinematics::d_registered_for_restart = false |
|
protected |
If the object is registred for restart.
The documentation for this class was generated from the following files:
- /home/runner/work/IBAMR/IBAMR/include/ibamr/ConstraintIBKinematics.h
- /home/runner/work/IBAMR/IBAMR/src/IB/ConstraintIBKinematics.cpp