37 #ifndef MultiscaleSolver_H 38 #define MultiscaleSolver_H 1
40 #include <lifev/multiscale/framework/MultiscaleDefinitions.hpp> 41 #include <lifev/multiscale/models/MultiscaleModelMultiscale.hpp> 84 void setupProblem (
const std::string& fileName,
const std::string& problemName,
const UInt& coresPerNode );
139 const Real& updateSolutionCPUTime,
const Real& saveCPUTime )
const;
void showMe() const
Display some information about the Multiscale problem (should be called after setupProblem) ...
Displayer::commPtr_Type multiscaleCommPtr_Type
MultiscaleSolver & operator=(const MultiscaleSolver &solver)
std::shared_ptr< multiscaleData_Type > multiscaleDataPtr_Type
void importIterationNumber()
Import iteration number from the CPU file.
void updateInverseJacobian(const UInt &iQuadPt)
std::shared_ptr< multiscaleModel_Type > multiscaleModelPtr_Type
bool solveProblem(const Real &referenceSolution=-1., const Real &tolerance=1e-8)
Run the time-loop to solve the Multiscale problem.
void saveCPUTime(const Real &totalCPUTime, const Real &buildUpdateCPUTime, const Real &solveCPUTime, const Real &updateSolutionCPUTime, const Real &saveCPUTime) const
Save CPU time at each time step.
multiscaleCommPtr_Type M_comm
MultiscaleSolver(const MultiscaleSolver &solver)
double Real
Generic real data.
multiscaleDataPtr_Type M_globalData
void setCommunicator(const multiscaleCommPtr_Type &comm)
Set the epetra communicator for the Multiscale problem.
virtual ~MultiscaleSolver()
Destructor.
MultiscaleSolver()
Constructor.
multiscaleModelPtr_Type M_model
MultiscaleSolver - The Multiscale solver.
uint32_type UInt
generic unsigned integer (used mainly for addressing)