Proto
3.2
|
AMR Solver. More...
#include <Proto_AMRSolver.H>
Public Types | |
typedef OpType< T, MEM > | BOP |
typedef LevelOp< OpType, T, PeriodicBC, MEM > | LOP |
typedef AMROp< OpType, T, MEM > | AMROP |
typedef AMRData< T, BOP::numState(), MEM > | AMRStateData |
typedef AMRData< T, BOP::numAux(), MEM > | AMRAuxData |
Public Member Functions | |
virtual double | solve (AMRStateData &a_state, AMRStateData &a_forcing, AMRAuxData &a_aux, int a_maxIter, double a_tolerance)=0 |
virtual double | solve (AMRStateData &a_state, AMRStateData &a_forcing, int a_maxIter, double a_tolerance)=0 |
Static Public Member Functions | |
static constexpr unsigned int | numState () |
static constexpr unsigned int | numAux () |
AMR Solver.
AMR Solver is an interface for building a solver to invert an AMROp. In particular, we would like to solve the equation L(phi) = G where L is defined by an AMROp, G is an external forcing defined on an AMR hierarchy, and phi is the solution, also on a hierarchy.
TODO: specifically, this is an interface for iterative solvers.
typedef OpType<T, MEM> Proto::AMRSolver< OpType, T, MEM >::BOP |
typedef LevelOp<OpType, T, PeriodicBC, MEM> Proto::AMRSolver< OpType, T, MEM >::LOP |
typedef AMROp<OpType, T, MEM> Proto::AMRSolver< OpType, T, MEM >::AMROP |
typedef AMRData<T, BOP::numState(), MEM> Proto::AMRSolver< OpType, T, MEM >::AMRStateData |
typedef AMRData<T, BOP::numAux(), MEM> Proto::AMRSolver< OpType, T, MEM >::AMRAuxData |
|
inlinestatic |
|
inlinestatic |
References Proto::AMRSolver< OpType, T, MEM >::solve().
|
inlinepure virtual |
Referenced by Proto::AMRSolver< OpType, T, MEM >::numAux().
|
inlinepure virtual |