|
| PetscCompGridPois (Real a_al=0., Real a_be=-1.0, int a_order=2) |
| Base class constructor. Called by all subclass constructors. More...
|
|
virtual void | clean () |
|
virtual | ~PetscCompGridPois () |
| Destructor. More...
|
|
bool | isCornerStencil () const |
|
void | setCornerStencil (bool a_b=true) |
|
virtual IntVect | getGhostVect () const |
|
Real | getAlpha () const |
|
Real | getBeta () const |
|
void | setAlpha (Real a_b) |
|
void | setBeta (Real a_b) |
|
int | getOrder () const |
|
void | setOrder (int a_b) |
|
virtual | ~PetscCompGrid () |
| Destructor. More...
|
|
| PetscCompGrid (int a_dof) |
| Base class constructor. Called by all subclass constructors. More...
|
|
virtual void | define (const ProblemDomain &a_cdomain, Vector< DisjointBoxLayout > &a_grids, Vector< int > &a_refratios, BCHolder a_bc, const RealVect &a_cdx, int a_numLevels=-1, int a_ibase=0) |
|
Mat | getMatrix () const |
|
Mat | getPMatrix () const |
|
void | setMatlab (bool b=true) |
|
void | setRepartition (bool b=true) |
|
void | setVerbose (int a_v) |
|
void | setAverageFineSolutionToCoarse (bool b=true) |
|
PetscErrorCode | createMatrix (int a_makePmat=0) |
|
PetscErrorCode | putChomboInPetsc (const Vector< LevelData< FArrayBox > * > &rhs, Vec b) const |
|
PetscErrorCode | putPetscInChombo (Vec b, Vector< LevelData< FArrayBox > * > &rhs) const |
|
virtual void | addExtraCovered (GID_type, int, const DataIndex &, BaseFab< PetscInt > &) |
|
|
virtual void | createOpStencil (IntVect, int, const DataIndex &, StencilTensor &) |
|
virtual void | applyBCs (IntVect, int, const DataIndex &, Box, StencilTensor &) |
|
virtual void | InterpToFine (IntVect, int, const DataIndex &, StencilTensor &) |
|
virtual void | InterpToCoarse (IntVect, int, const DataIndex &, StencilTensor &) |
|
IntVect | getCFStencil (const ProblemDomain &a_cdom, const IntVect a_ivc) |
|
PetscErrorCode | AddStencilToMat (IntVect, int, const DataIndex &, StencilTensor &, Mat) |
|
void | NodeDefine (StencilNode &a_node, IntVect a_iv, int a_lev, Real a_val) |
|
void | setCFCoverMaps (int a_nlev) |
|
void | setCoverMaps (int a_nlev) |
|
PetscErrorCode | permuteDataAndMaps (Vector< StencilTensor > &patchStencil) |
|
This base class organizes the construction of a PETSc matrix, and solve with an AMR hierarchy