|
| PetscSolverViscousTensor () |
|
virtual void | define (LinearOp< T > *a_operator, bool a_homogeneous=true) |
|
virtual int | getNNZPerRow () const |
|
virtual int | formMatrix (Mat, const LevelData< FArrayBox > *=0, PetscInt my0=0, PetscInt nloc=0, PetscInt *d=0, PetscInt *o=0) |
|
void | define (Real alpha, Real beta, LevelData< FArrayBox > *a, LevelData< FluxBox > *eta, LevelData< FluxBox > *lam) |
|
| PetscSolverFAB () |
|
BaseFab< Real > & | getRegFab (LevelData< FArrayBox > &a_fab, const DataIndex &a_datInd) |
|
const BaseFab< Real > & | getRegFab (const LevelData< FArrayBox > &a_fab, const DataIndex &a_datInd) const |
|
const BaseFab< Real > & | getRegFab (const LevelData< FArrayBox > &a_fab, const DataIndex &a_datInd, Box &a_box) const |
|
| PetscSolver () |
|
virtual | ~PetscSolver () |
|
void | destroy () |
|
virtual void | setHomogeneous (bool a_homogeneous) |
|
virtual void | setFunctionAndJacobian (PetscErrorCode(*f)(SNES, Vec, Vec, void *), PetscErrorCode(*j)(SNES, Vec, Mat *, Mat *, MatStructure *, void *)) |
|
virtual void | define (Real a_dx, bool a_homogeneous=true) |
|
virtual void | define (LinearOp< LevelData< FArrayBox > > *, bool a_homogeneous=true) |
|
virtual void | solve (LevelData< FArrayBox > &a_phi, const LevelData< FArrayBox > &a_rhs) |
|
int | solve_private (LevelData< FArrayBox > &a_phi, const LevelData< FArrayBox > &a_rhs) |
|
virtual void | solve_mfree (LevelData< FArrayBox > &a_phi, const LevelData< FArrayBox > &a_rhs, LinearOp< LevelData< FArrayBox > > *a_op) |
|
int | solve_mfree_private (LevelData< FArrayBox > &a_phi, const LevelData< FArrayBox > &a_rhs, LinearOp< LevelData< FArrayBox > > *a_op) |
|
Real | computeResidual () |
|
virtual int | applyOp (LevelData< FArrayBox > &a_phi, const LevelData< FArrayBox > &a_rhs) |
|
void | setInitialGuessNonzero (bool b=true) |
|
void | setOptionsPrefix (const char prefix[]) |
|
KSP | getKSP () |
|
virtual bool | supportNNZExact () const |
|
virtual void | rhsOperation (const LevelData< FArrayBox > &a_rhs) |
|
virtual Real | addBCdiagValue (const IntVect &a_iv, const IntVect &a_jv, const LevelData< FArrayBox > &a_rhs, const DataIndex &a_datInd, const Real coeff=1) |
|
int | resetOperator () |
|
Real | normInfinity (const LevelData< FArrayBox > &a_phi) const |
|
int | setup_solver (const LevelData< FArrayBox > &a_phi) |
|
int | create_mat_vec (const LevelData< FArrayBox > &a_phi) |
|
PetscErrorCode | putPetscInChombo (LevelData< FArrayBox > &a_phi, const Vec xx) |
|
PetscErrorCode | putChomboInPetsc (Vec out, const LevelData< FArrayBox > &a_phi) |
|
void | setNull (bool n=true) |
|
virtual | ~LinearSolver () |
|
virtual void | setConvergenceMetrics (Real a_metric, Real a_tolerance) |
| Set a convergence metric, along with solver tolerance, if desired. More...
|
|