IBAMR
An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method
|
Class IBLagrangianForceStrategy provides a generic interface for specifying the positions and magnitudes of distributed internal fluid source-sinks. More...
#include </home/runner/work/IBAMR/IBAMR/include/ibamr/IBLagrangianSourceStrategy.h>
Public Member Functions | |
IBLagrangianSourceStrategy ()=default | |
Default constructor. | |
virtual | ~IBLagrangianSourceStrategy ()=default |
Virtual destructor. | |
virtual void | setTimeInterval (double current_time, double new_time) |
Set the current and new times for the present timestep. More... | |
virtual 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 source/sink data on the specified level of the patch hierarchy. More... | |
virtual unsigned int | getNumSources (SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy, int level_number, double data_time, IBTK::LDataManager *l_data_manager)=0 |
Specify the number of distributed internal sources or sinks. More... | |
virtual void | getSourceLocations (std::vector< IBTK::Point > &X_src, std::vector< double > &r_src, SAMRAI::tbox::Pointer< IBTK::LData > X_data, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy, int level_number, double data_time, IBTK::LDataManager *l_data_manager)=0 |
Compute the source locations for each of the distributed internal sources or sinks. More... | |
virtual void | setSourcePressures (const std::vector< double > &P_src, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy, int level_number, double data_time, IBTK::LDataManager *l_data_manager)=0 |
Set the normalized pressures at the sources. | |
virtual void | computeSourceStrengths (std::vector< double > &Q_src, SAMRAI::tbox::Pointer< SAMRAI::hier::PatchHierarchy< NDIM > > hierarchy, int level_number, double data_time, IBTK::LDataManager *l_data_manager)=0 |
Compute the source strengths for each of the distributed internal sources or sinks. More... | |
Class IBLagrangianForceStrategy provides a generic interface for specifying the positions and magnitudes of distributed internal fluid source-sinks.
|
pure virtual |
Compute the source strengths for each of the distributed internal sources or sinks.
Implemented in IBAMR::IBStandardSourceGen.
|
pure virtual |
Specify the number of distributed internal sources or sinks.
Implemented in IBAMR::IBStandardSourceGen.
|
pure virtual |
Compute the source locations for each of the distributed internal sources or sinks.
Implemented in IBAMR::IBStandardSourceGen.
|
virtual |
Setup the data needed to compute source/sink data on the specified level of the patch hierarchy.
Reimplemented in IBAMR::IBStandardSourceGen.
|
virtual |
Set the current and new times for the present timestep.