39 #ifndef ZeroDimensionalSolver_H 40 #define ZeroDimensionalSolver_H 1
44 #include <lifev/zero_dimensional/solver/ZeroDimensionalDefinitions.hpp> 47 #if ( defined(HAVE_NOX_THYRA) && defined(HAVE_TRILINOS_RYTHMOS) ) 48 #include <Rythmos_StepperBase.hpp> 49 #include <Rythmos_ForwardEulerStepper.hpp> 50 #include <Rythmos_BackwardEulerStepper.hpp> 51 #include <Rythmos_ExplicitRKStepper.hpp> 52 #include <Rythmos_ImplicitBDFStepper.hpp> 53 #include <Rythmos_ImplicitRKStepper.hpp> 54 #include <Rythmos_RKButcherTableau.hpp> 55 #include <Rythmos_RKButcherTableauBuilder.hpp> 56 #include <Rythmos_TimeStepNonlinearSolver.hpp> 59 #include <Thyra_DiagonalEpetraLinearOpWithSolveFactory.hpp> 60 #include <Thyra_EpetraThyraWrappers.hpp> 61 #include <Thyra_EpetraLinearOp.hpp> 62 #include <Thyra_EpetraModelEvaluator.hpp> 63 #include <Thyra_NonlinearSolver_NOX.hpp> 66 #include <Stratimikos_DefaultLinearSolverBuilder.hpp> 70 #include <Teuchos_Array.hpp> 71 #include <Teuchos_RCP.hpp> 72 #include <Teuchos_ParameterList.hpp> 73 #include <Teuchos_CommandLineProcessor.hpp> 74 #include <Teuchos_FancyOStream.hpp> 75 #include <Teuchos_GlobalMPISession.hpp> 76 #include <Teuchos_VerboseObject.hpp> 77 #include <Teuchos_StandardCatchMacros.hpp> 78 #include <Teuchos_XMLParameterListHelpers.hpp> 79 #include <Teuchos_RCPBoostSharedPtrConversions.hpp> 83 #include <lifev/zero_dimensional/solver/ZeroDimensionalRythmosSolverInterface.hpp> 84 #include <lifev/zero_dimensional/solver/ZeroDimensionalData.hpp> 96 #if ( defined(HAVE_NOX_THYRA) && defined(HAVE_TRILINOS_RYTHMOS) ) struct SolverData solverData_Type
int32_type Int
Generic integer data.
void updateInverseJacobian(const UInt &iQuadPt)
ZeroDimensionalSolver(Int, std::shared_ptr< Epetra_Comm >, zeroDimensionalCircuitDataPtr_Type)
Constructor.
void setup(const ZeroDimensionalData::solverData_Type &)
setup solver
void takeStep(Real, Real)
integrate the system between t1 and t2
double Real
Generic real data.
Data container for 0D model.
virtual ~ZeroDimensionalSolver()
Destructor.
STEP_METHOD
time step method
std::shared_ptr< ZeroDimensionalCircuitData > zeroDimensionalCircuitDataPtr_Type