Class IBBeamForceSpec encapsulates the data necessary to compute the forces generated by a collection of linear beams (i.e., structures that resist bending) at a single node of the Lagrangian mesh.
More...
#include <ibamr/IBBeamForceSpec.h>
Beams are connections between three particular nodes of the Lagrangian mesh. IBBeamForceSpec objects are stored as IBTK::Streamable data associated with only the master beam nodes in the mesh.
◆ NeighborIdxs
- Note
- This typedef appears to be needed to get g++ to parse the default parameters in the class constructor.
◆ IBBeamForceSpecFactory
◆ IBBeamForceSpec() [1/3]
| IBAMR::IBBeamForceSpec::IBBeamForceSpec |
( |
unsigned int |
num_beams = 0 | ) |
|
|
inline |
◆ IBBeamForceSpec() [2/3]
| IBAMR::IBBeamForceSpec::IBBeamForceSpec |
( |
int |
master_idx, |
|
|
const std::vector< NeighborIdxs > & |
neighbor_idxs, |
|
|
const std::vector< double > & |
bend_rigidities, |
|
|
const std::vector< IBTK::Vector > & |
mesh_dependent_curvatures |
|
) |
| |
|
inline |
◆ ~IBBeamForceSpec()
| IBAMR::IBBeamForceSpec::~IBBeamForceSpec |
( |
| ) |
|
|
inline |
◆ IBBeamForceSpec() [3/3]
- Note
- This constructor is not implemented and should not be used.
- Parameters
-
| from | The value to copy to this object. |
◆ registerWithStreamableManager()
| static void IBAMR::IBBeamForceSpec::registerWithStreamableManager |
( |
| ) |
|
|
static |
- Note
- This method is collective on all MPI processes. This is done to ensure that all processes employ the same class ID for the IBBeamForceSpec class.
◆ getIsRegisteredWithStreamableManager()
| bool IBAMR::IBBeamForceSpec::getIsRegisteredWithStreamableManager |
( |
| ) |
|
|
inlinestatic |
◆ getNumberOfBeams()
| unsigned int IBAMR::IBBeamForceSpec::getNumberOfBeams |
( |
| ) |
const |
|
inline |
- Returns
- The number of beams attached to the master node.
◆ getMasterNodeIndex() [1/2]
| int & IBAMR::IBBeamForceSpec::getMasterNodeIndex |
( |
| ) |
const |
|
inline |
- Returns
- A const reference to the master node index.
◆ getMasterNodeIndex() [2/2]
| int& IBAMR::IBBeamForceSpec::getMasterNodeIndex |
( |
| ) |
|
- Returns
- A non-const reference to the master node index.
◆ getNeighborNodeIndices() [1/2]
- Returns
- A const reference to the neighbor node indices for the beams attached to the master node.
◆ getNeighborNodeIndices() [2/2]
| std::vector<NeighborIdxs>& IBAMR::IBBeamForceSpec::getNeighborNodeIndices |
( |
| ) |
|
- Returns
- A non-const reference to the neighbor node indices for the beams attached to the master node.
◆ getBendingRigidities() [1/2]
| std::vector< double > & IBAMR::IBBeamForceSpec::getBendingRigidities |
( |
| ) |
const |
|
inline |
- Returns
- A const reference to the bending rigidities of the beams attached to the master node.
◆ getBendingRigidities() [2/2]
| std::vector<double>& IBAMR::IBBeamForceSpec::getBendingRigidities |
( |
| ) |
|
- Returns
- A non-const reference to the bending rigidities of the beams attached to the master node.
◆ getMeshDependentCurvatures() [1/2]
| std::vector< IBTK::Vector > & IBAMR::IBBeamForceSpec::getMeshDependentCurvatures |
( |
| ) |
const |
|
inline |
- Returns
- A const reference to the mesh-dependent curvatures of the beams attached to the master node.
◆ getMeshDependentCurvatures() [2/2]
| std::vector<IBTK::Vector>& IBAMR::IBBeamForceSpec::getMeshDependentCurvatures |
( |
| ) |
|
- Returns
- A non-const reference to the mesh-dependent curvatures of the beams attached to the master node.
◆ getStreamableClassID()
| int IBAMR::IBBeamForceSpec::getStreamableClassID |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getDataStreamSize()
| size_t IBAMR::IBBeamForceSpec::getDataStreamSize |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ packStream()
◆ operator=()
- Note
- This operator is not implemented and should not be used.
- Parameters
-
| that | The value to assign to this object. |
- Returns
- A reference to this object.
◆ registerPeriodicShift()
- Note
- A default empty implementation is provided.
◆ STREAMABLE_CLASS_ID
| int IBAMR::IBBeamForceSpec::STREAMABLE_CLASS_ID |
|
static |
◆ d_master_idx
Data required to compute the beam forces.
◆ d_neighbor_idxs
| std::vector<NeighborIdxs> IBAMR::IBBeamForceSpec::d_neighbor_idxs |
|
private |
◆ d_bend_rigidities
| std::vector<double> IBAMR::IBBeamForceSpec::d_bend_rigidities |
|
private |
◆ d_mesh_dependent_curvatures
| std::vector<IBTK::Vector> IBAMR::IBBeamForceSpec::d_mesh_dependent_curvatures |
|
private |
The documentation for this class was generated from the following files: