PRISMS-PF Manual v3.0-pre
All Classes Functions Variables Enumerations Pages
explicitConstantSolver< dim, degree > Class Template Reference

This class handles the explicit solves of all constant fields. More...

#include <explicit_constant_solver.h>

Inheritance diagram for explicitConstantSolver< dim, degree >:
explicitBase< dim, degree >

Public Member Functions

 explicitConstantSolver (const userInputParameters< dim > &_user_inputs, const matrixfreeHandler< dim > &_matrix_free_handler, const invmHandler< dim, degree > &_invm_handler, const constraintHandler< dim > &_constraint_handler, const dofHandler< dim > &_dof_handler, const dealii::MappingQ1< dim > &_mapping, solutionHandler< dim > &_solution_handler)
 Constructor.
 
 ~explicitConstantSolver ()=default
 Destructor.
 
void init () override
 Initialize system.
 
void solve () override
 Solve a single update step.
 
- Public Member Functions inherited from explicitBase< dim, degree >
 explicitBase (const userInputParameters< dim > &_user_inputs, const matrixfreeHandler< dim > &_matrix_free_handler, const invmHandler< dim, degree > &_invm_handler, const constraintHandler< dim > &_constraint_handler, const dofHandler< dim > &_dof_handler, const dealii::MappingQ1< dim > &_mapping, solutionHandler< dim > &_solution_handler)
 Constructor.
 
 ~explicitBase ()=default
 Destructor.
 

Additional Inherited Members

- Public Types inherited from explicitBase< dim, degree >
using SystemMatrixType = customPDE< dim, degree, double >
 
- Protected Member Functions inherited from explicitBase< dim, degree >
void compute_subset_attributes (const fieldSolveType &field_solve_type)
 Compute the subset of variableAttributes that belongs to a given fieldSolveType. This function should only be used for concurrent fieldSolveTypes, such as EXPLICIT, NONEXPLICIT_CO_NONLINEAR, and EXPLICIT_POSTPROCESS.
 
void compute_shared_dependencies ()
 Compute the shared dependency set and copy it to all eval_flag_set_RHS. Also do something similar with dependency_set_RHS so that all the FEEvaluation objects are initialized.
 
void set_initial_condition ()
 Set the initial condition according to subset_attributes.
 
void print ()
 Print dependency_set_RHS to summary.log.
 
- Protected Attributes inherited from explicitBase< dim, degree >
const userInputParameters< dim > & user_inputs
 User-inputs.
 
const matrixfreeHandler< dim > & matrix_free_handler
 Matrix-free object handler for non-multigrid data.
 
const invmHandler< dim, degree > & invm_handler
 invm handler.
 
const constraintHandler< dim > & constraint_handler
 Constraint handler.
 
const dofHandler< dim > & dof_handler
 DoF handler.
 
const dealii::MappingQ1< dim > & mapping
 Mappings to and from reference cell.
 
solutionHandler< dim > & solution_handler
 Solution handler.
 
std::map< unsigned int, variableAttributessubset_attributes
 Subset of variable attributes.
 
std::unique_ptr< SystemMatrixTypesystem_matrix
 PDE operator.
 

Detailed Description

template<int dim, int degree>
class explicitConstantSolver< dim, degree >

This class handles the explicit solves of all constant fields.

Member Function Documentation

◆ init()

template<int dim, int degree>
void explicitConstantSolver< dim, degree >::init ( )
inlineoverridevirtual

Initialize system.

Implements explicitBase< dim, degree >.

◆ solve()

template<int dim, int degree>
void explicitConstantSolver< dim, degree >::solve ( )
inlineoverridevirtual

Solve a single update step.

Implements explicitBase< dim, degree >.


The documentation for this class was generated from the following file: