IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
Class IBKirchhoffRodForceGen computes the forces and torques generated by a collection of linear elements based on Kirchhoff rod theory. More...
#include </home/runner/work/IBAMR/IBAMR/include/ibamr/IBKirchhoffRodForceGen.h>
Public Member Functions | |
IBKirchhoffRodForceGen (SAMRAI::tbox::Pointer< SAMRAI::tbox::Database > input_db=NULL) | |
Default constructor. | |
virtual | ~IBKirchhoffRodForceGen () |
Destructor. | |
void | setUniformBodyForce (IBTK::Vector F, int structure_id, int level_number) |
Set a uniform body force that is applied on each point in the structure with the given structure_id. | |
void | initializeLevelData (SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy, int level_number, double init_data_time, bool initial_time, IBTK::LDataManager *l_data_manager) |
Setup the data needed to compute the beam forces on the specified level of the patch hierarchy. | |
void | computeLagrangianForceAndTorque (SAMRAI::tbox::Pointer< IBTK::LData > F_data, SAMRAI::tbox::Pointer< IBTK::LData > N_data, SAMRAI::tbox::Pointer< IBTK::LData > X_data, SAMRAI::tbox::Pointer< IBTK::LData > D_data, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy, int level_number, double data_time, IBTK::LDataManager *l_data_manager) |
Compute the curvilinear force and torque generated by the given configuration of the curvilinear mesh. More... | |
Class IBKirchhoffRodForceGen computes the forces and torques generated by a collection of linear elements based on Kirchhoff rod theory.
void IBAMR::IBKirchhoffRodForceGen::computeLagrangianForceAndTorque | ( | SAMRAI::tbox::Pointer< IBTK::LData > | F_data, |
SAMRAI::tbox::Pointer< IBTK::LData > | N_data, | ||
SAMRAI::tbox::Pointer< IBTK::LData > | X_data, | ||
SAMRAI::tbox::Pointer< IBTK::LData > | D_data, | ||
SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > | hierarchy, | ||
int | level_number, | ||
double | data_time, | ||
IBTK::LDataManager * | l_data_manager | ||
) |
Compute the curvilinear force and torque generated by the given configuration of the curvilinear mesh.