37 #ifndef PRECONDITIONERYOSIDA_HPP 38 #define PRECONDITIONERYOSIDA_HPP 1
40 #include <boost/shared_ptr.hpp> 42 #include <Teuchos_ParameterList.hpp> 44 #include <lifev/core/filter/GetPot.hpp> 45 #include <lifev/core/array/MatrixEpetra.hpp> 46 #include <lifev/core/array/VectorEpetra.hpp> 47 #include <lifev/core/algorithm/PreconditionerComposition.hpp> 48 #include <lifev/core/array/MatrixEpetraStructured.hpp> 49 #include <lifev/core/solver/ADRAssembler.hpp> 50 #include <lifev/core/fem/FESpace.hpp> 51 #include <lifev/core/mesh/RegionMesh.hpp> 109 const std::string& section,
110 const std::string& subsection =
"Yosida" );
136 const std::string& section );
189 return new PreconditionerYosida();
VectorEpetra - The Epetra Vector format Wrapper.
int numBlocksRows() const
std::string M_fluidDataSection
Preconditioner super_Type
void importFromHDF5(std::string const &fileName, std::string const &matrixName="matrix")
Read a matrix from a HDF5 (.h5) file.
std::shared_ptr< matrix_Type > matrixPtr_Type
RegionMesh< LinearTetra > mesh_Type
MatrixEpetraStructured< Real > matrixBlock_Type
FESpacePtr_Type M_uFESpace
virtual ~PreconditionerYosida()
constructor from matrix A.
std::shared_ptr< vector_Type > vectorPtr_Type
std::shared_ptr< FESpace< mesh_Type, map_Type > > FESpacePtr_Type
void createParametersList(list_Type &list, const GetPot &dataFile, const std::string §ion, const std::string &subsection="Yosida")
Create the list of parameters of the preconditioner.
void updateInverseJacobian(const UInt &iQuadPt)
static const LifeV::UInt elm_nodes_num[]
PreconditionerYosida(const PreconditionerYosida &P)
void setTimestep(const Real ×tep)
Setter for the timestep.
PreconditionerComposition(std::shared_ptr< Epetra_Comm > comm=std::shared_ptr< Epetra_Comm >(new Epetra_MpiComm(MPI_COMM_WORLD)))
Constructor.
Epetra_Import const & importer()
Getter for the Epetra_Import.
void setFESpace(FESpacePtr_Type uFESpace, FESpacePtr_Type pFESpace)
Setter for the FESpace.
double condest()
Return an estimation of the conditionement number of the preconditioner.
void setDataFromGetPot(const GetPot &dataFile, const std::string §ion)
Setter using GetPot.
static bool registerYosida
int numBlocksColumns() const
MatrixEpetraStructuredView - class representing a block in a MatrixEpetraStructured.
double Real
Generic real data.
MatrixEpetra< Real > matrix_Type
Teuchos::ParameterList list_Type
Preconditioner - Abstract preconditioner class.
ComposedOperator< Preconditioner > preconditioner_Type
MatrixEpetraStructured - class of block matrix.
virtual void setParameters(Teuchos::ParameterList &list)
Method to setup the solver using Teuchos::ParameterList.
std::string M_schurDataSection
std::shared_ptr< preconditioner_Type > preconditionerPtr_Type
MatrixEpetraStructuredView< Real > matrixBlockView_Type
Preconditioner * createYosida()
PreconditionerYosida(const std::shared_ptr< PreconditionerYosida > &)
ADRAssembler< mesh_Type, matrixBlock_Type, vector_Type > M_adrVelocityAssembler
FESpacePtr_Type M_pFESpace
std::shared_ptr< super_Type > superPtr_Type
int buildPreconditioner(matrixPtr_Type &A)
Build the preconditioner.