12#include <prismspf/config.h>
16template <
unsigned int dim,
unsigned int degree,
typename number>
22template <
unsigned int dim,
unsigned int degree,
typename number>
36 :
SolverBase<dim, degree, number>(_solve_block, _solve_context)
40 init(
const std::list<SolveBlock> &all_solve_blocks)
override
87PRISMS_PF_END_NAMESPACE
MFOperator< dim, degree, number > rhs_operator
Matrix free operator.
Definition explicit_solver.h:84
ExplicitSolver(SolveBlock _solve_block, const SolveContext< dim, degree, number > &_solve_context)
Constructor.
Definition explicit_solver.h:34
void solve_impl() override
Solve for a single update step.
Definition explicit_solver.h:62
void init(const std::list< SolveBlock > &all_solve_blocks) override
Initialize the solver.
Definition explicit_solver.h:40
This class exists to evaluate a single user-defined operator for the matrix-free implementation of so...
Definition mf_operator.h:54
virtual void compute_rhs(FieldContainer< dim, degree, number > &variable_list, const SimulationTimer &sim_timer, unsigned int solver_id) const
User-implemented class for the RHS of explicit equations.
Definition pde_operator_base.h:79
Structure to hold the attributes of a solve-block.
Definition solve_block.h:59
This class provides context for a solver with ptrs to all the relevant dependencies.
Definition solve_context.h:34
virtual void init(const std::list< SolveBlock > &all_solve_blocks)
Initialize the solver.
Definition solver_base.h:84
SolverBase(SolveBlock _solve_block, const SolveContext< dim, degree, number > &_solve_context)
Constructor.
Definition solver_base.h:36
GroupSolutionHandler< dim, number > solutions
Solution vectors for fields handled by this solver.
Definition solver_base.h:293
const SolveContext< dim, degree, number > * solve_context
Solver context provides access to external information.
Definition solver_base.h:288
SolveBlock solve_block
Information about the solve block this handler is responsible for.
Definition solver_base.h:283
static void start_section(const char *name)
Start a new timer section.
Definition timer.cc:116
static void end_section(const char *name)
End the timer section.
Definition timer.cc:127
Definition conditional_ostreams.cc:20