37 #ifndef MONOLITHICGE_H 38 #define MONOLITHICGE_H 1
40 #include <lifev/core/LifeV.hpp> 42 #include <lifev/fsi/solver/MonolithicBlockMatrix.hpp> 43 #include <lifev/fsi/solver/MonolithicBlockMatrixRN.hpp> 44 #include <lifev/fsi/solver/MonolithicBlockComposedDN.hpp> 45 #include <lifev/fsi/solver/MonolithicBlockComposedNN.hpp> 46 #include <lifev/fsi/solver/MonolithicBlockComposedDNND.hpp> 48 #include <lifev/fsi/solver/FSIMonolithic.hpp> 75 typedef FactorySingleton<Factory<FSIOperator, std::string> > FSIFactory_Type;
76 class FSIMonolithicGE :
public FSIMonolithic
80 typedef FSIMonolithic super_Type;
105 void setupFluidSolid (
UInt const fluxes );
127 void setALEVectorInStencil (
const vectorPtr_Type& fluidDisp,
const UInt iter,
const bool );
135 void evalResidual ( vector_Type& res,
const vector_Type& sol,
const UInt iter );
141 void iterateMesh (
const vector_Type& disp );
144 void applyBoundaryConditions();
147 void updateSolution (
const vector_Type& solution );
158 if ( M_epetraWorldComm->MyPID() == 0 )
160 std::cerr << std::endl <<
"Warning: FSIMonolithic::solution() is deprecated!" << std::endl
161 <<
" You should not access the solution inside FSIOperator or FSIMonolithic!" << std::endl;
164 return M_fluidTimeAdvance->singleElement (0);
171 static FSIOperator* instantiate()
173 return new FSIMonolithicGE();
181 void createOperator ( std::string& operType )
183 M_monolithicMatrix.reset (MonolithicBlockMatrix::Factory_Type::instance().createObject ( operType ) );
191 static bool S_register;
195 inline FSIMonolithic* createFSIMonolithicGE()
197 return new FSIMonolithicGE();
void assignFunction(bcBase_Type &base)
Assign the function to the base of the BCHandler.
#define LIFEV_DEPRECATED(func)
uint32_type UInt
generic unsigned integer (used mainly for addressing)