39 #ifndef FSICOUPLINGCE_H 40 #define FSICOUPLINGCE_H 42 #include <lifev/core/LifeV.hpp> 45 #include <lifev/core/filter/GetPot.hpp> 48 #include <lifev/core/array/MatrixEpetra.hpp> 49 #include <lifev/core/array/VectorEpetra.hpp> 51 #include <lifev/core/mesh/RegionMesh.hpp> 52 #include <lifev/core/fem/FESpace.hpp> 100 void buildBlocks ( std::map<ID, ID>
const& locDofMap,
const bool& lambda_num_structure,
bool useBDF =
false );
127 void setUp (
const Real& timeStep,
const Real& interfaceDofs,
const Real& coefficientBDF,
matrixPtr_Type M_lambdaToFluidMomentum
matrixPtr_Type M_lambdaToStructureMomentum
void buildBlocks(std::map< ID, ID > const &locDofMap, const bool &lambda_num_structure, bool useBDF=false)
Builds the coupling blocks.
matrixPtr_Type lambdaToStructureMomentum() const
void importFromHDF5(std::string const &fileName, std::string const &matrixName="matrix")
Read a matrix from a HDF5 (.h5) file.
matrixPtr_Type M_structureDisplacementToFluidDisplacement
std::shared_ptr< mesh_Type > meshPtr_Type
void updateInverseJacobian(const UInt &iQuadPt)
matrixPtr_Type structureDisplacementToLambda() const
commPtr_Type M_comm
communicator
Epetra_Import const & importer()
Getter for the Epetra_Import.
FESpacePtr_Type M_structureDisplacementFESpace
std::shared_ptr< VectorEpetra > vectorPtr_Type
~FSIcouplingCE()
Destructor.
void setUp(const Real &timeStep, const Real &interfaceDofs, const Real &coefficientBDF, const mapPtr_Type &interfaceMap, const FESpacePtr_Type &fluidVelocityFESpace, const FESpacePtr_Type &structureDisplacementFESpace, const vectorPtr_Type &numerationInterface)
Set parameters. To be used when Newmark is used on the structure.
matrixPtr_Type structureDisplacementToFluidDisplacement() const
matrixPtr_Type fluidVelocityToLambda() const
FESpacePtr_Type M_fluidVelocityFESpace
std::shared_ptr< map_Type > mapPtr_Type
double Real
Generic real data.
FESpace< mesh_Type, map_Type > FESpace_Type
RegionMesh< LinearTetra > mesh_Type
vectorPtr_Type M_numerationInterface
MatrixEpetra< Real > matrix_Type
FSIcouplingCE - File handling the coupling blocks when conforming discretizations are used...
std::shared_ptr< matrix_Type > matrixPtr_Type
void setUp(const Real &timeStep, const Real &interfaceDofs, const Real &beta, const Real &gamma, const mapPtr_Type &interfaceMap, const FESpacePtr_Type &fluidVelocityFESpace, const FESpacePtr_Type &structureDisplacementFESpace, const vectorPtr_Type &numerationInterface)
Set parameters. To be used when Newmark is used on the structure.
std::shared_ptr< comm_Type > commPtr_Type
FSIcouplingCE(const commPtr_Type &communicator)
Constructor.
matrixPtr_Type M_structureDisplacementToLambda
matrixPtr_Type M_fluidVelocityToLambda
matrixPtr_Type lambdaToFluidMomentum() const
mapPtr_Type M_interfaceMap
std::shared_ptr< FESpace_Type > FESpacePtr_Type