37 #ifndef MultiscaleModelMultiscale_H 38 #define MultiscaleModelMultiscale_H 1
40 #include <lifev/multiscale/framework/MultiscaleCommunicatorsManager.hpp> 42 #include <lifev/multiscale/algorithms/MultiscaleAlgorithm.hpp> 44 #include <lifev/multiscale/couplings/MultiscaleCoupling.hpp> 46 #include <lifev/multiscale/models/MultiscaleModel.hpp> 48 #if defined(LIFEV_HAS_ZERODIMENSIONAL) 49 #include <lifev/multiscale/models/MultiscaleModelWindkessel0D.hpp> 50 #include <lifev/multiscale/models/MultiscaleModel0D.hpp> 53 #if defined(LIFEV_HAS_ONEDFSI) 54 #include <lifev/multiscale/models/MultiscaleModelFSI1D.hpp> 57 #if defined(LIFEV_HAS_NAVIERSTOKES) 58 #include <lifev/multiscale/models/MultiscaleModelFluid3D.hpp> 61 #if defined(LIFEV_HAS_FSI) 62 #include <lifev/multiscale/models/MultiscaleModelFSI3D.hpp> 104 void setupData (
const std::string& fileName );
211 return new MultiscaleModelMultiscale();
void exportCouplingVariables(multiscaleVector_Type &couplingVariables)
Export the values of the coupling variables.
std::shared_ptr< multiscaleAlgorithm_Type > multiscaleAlgorithmPtr_Type
void showMe()
Display some information about the multiscale problem (call after SetupProblem)
bool topologyChange()
Check if the topology is changed.
Real checkSolution() const
Return a specific scalar quantity to be used for a comparison with a reference value.
virtual ~MultiscaleModelMultiscale()
Destructor.
void updateModel()
Update the model.
multiscaleCouplingsContainer_Type M_couplingsList
void setupModel()
Setup the model.
MultiscaleModelMultiscale(const MultiscaleModelMultiscale &model)
void updateInverseJacobian(const UInt &iQuadPt)
MultiscaleModelMultiscale()
Constructor.
Epetra_Import const & importer()
Getter for the Epetra_Import.
void buildModel()
Build the initial model.
MultiscaleModel multiscaleModel_Type
multiscaleAlgorithmPtr_Type M_algorithm
void createCouplingMap(MapEpetra &couplingMap)
Build the global map for the coupling vectors.
MatrixEpetra< Real > multiscaleMatrix_Type
std::vector< multiscaleModelPtr_Type > multiscaleModelsContainer_Type
std::vector< multiscaleCouplingPtr_Type > multiscaleCouplingsContainer_Type
MultiscaleCommunicatorsManager M_commManager
void saveSolution()
Save the solution.
void computeCouplingResiduals()
Compute the values of the interface residuals.
double Real
Generic real data.
void exportJacobian(multiscaleMatrix_Type &jacobian)
Export the Jacobian matrix.
void exportCouplingResiduals(multiscaleVector_Type &couplingResiduals)
Export the values of the interface residuals.
void updateSolution()
Update the solution.
void solveModel()
Solve the model.
MultiscaleModelMultiscale - Multiscale model.
UInt couplingVariablesNumber()
Get the number of the coupling variables.
void importCouplingVariables(const multiscaleVector_Type &couplingVariables)
Import the values of the coupling variables.
multiscaleModel_Type * createMultiscaleModelMultiscale()
Factory create function.
multiscaleModelsContainer_Type M_modelsList
MultiscaleCommunicatorsManager - The Multiscale Communicators Manager.
MultiscaleModelMultiscale & operator=(const MultiscaleModelMultiscale &model)
uint32_type UInt
generic unsigned integer (used mainly for addressing)
VectorEpetra multiscaleVector_Type