PetscCompGridVTO Class Reference

#include <PetscCompGridVTO.H>

Inheritance diagram for PetscCompGridVTO:

Inheritance graph
[legend]

List of all members.


Detailed Description

This base class organizes the construction of a PETSc matrix, and solve with an AMR

Public Member Functions

virtual ~PetscCompGridVTO ()
 Destructor.
 PetscCompGridVTO (Real a_al=0., Real a_beta=1.0)
 Base class constructor. Called by all subclass constructors.
virtual void clean ()
void defineCoefs (Real a_alpha, Real a_beta, Vector< RefCountedPtr< LevelData< FluxBox > > > &a_mu, Vector< RefCountedPtr< LevelData< FluxBox > > > &a_lambda, Vector< RefCountedPtr< LevelData< FArrayBox > > > &a_a)
virtual IntVect getGhostVect () const
Real getAlpha () const
Real getBeta () const
void setAlpha (Real a_b)
void setBeta (Real a_b)

Protected Member Functions

virtual void createOpStencil (IntVect, int, const DataIndex &, StencilTensor &)
virtual void applyBCs (IntVect, int, const DataIndex &, Box, StencilTensor &)

Protected Attributes

Real m_alpha
Real m_beta
Vector< RefCountedPtr
< LevelData< FluxBox > > > 
m_eta
Vector< RefCountedPtr
< LevelData< FluxBox > > > 
m_lamb
Vector< RefCountedPtr
< LevelData< FArrayBox > > > 
m_a

Constructor & Destructor Documentation

virtual PetscCompGridVTO::~PetscCompGridVTO (  )  [inline, virtual]

Destructor.

References clean().

PetscCompGridVTO::PetscCompGridVTO ( Real  a_al = 0.,
Real  a_beta = 1.0 
) [inline]

Base class constructor. Called by all subclass constructors.


Member Function Documentation

virtual void PetscCompGridVTO::clean (  )  [virtual]

Reimplemented from PetscCompGrid.

Referenced by ~PetscCompGridVTO().

void PetscCompGridVTO::defineCoefs ( Real  a_alpha,
Real  a_beta,
Vector< RefCountedPtr< LevelData< FluxBox > > > &  a_mu,
Vector< RefCountedPtr< LevelData< FluxBox > > > &  a_lambda,
Vector< RefCountedPtr< LevelData< FArrayBox > > > &  a_a 
) [inline]

References m_a, m_alpha, m_beta, m_eta, and m_lamb.

virtual IntVect PetscCompGridVTO::getGhostVect (  )  const [inline, virtual]

Implements PetscCompGrid.

References IntVect::Unit.

Real PetscCompGridVTO::getAlpha (  )  const [inline]

References m_alpha.

Real PetscCompGridVTO::getBeta (  )  const [inline]

References m_beta.

void PetscCompGridVTO::setAlpha ( Real  a_b  )  [inline]

References m_alpha.

void PetscCompGridVTO::setBeta ( Real  a_b  )  [inline]

References m_beta.

virtual void PetscCompGridVTO::createOpStencil ( IntVect  ,
int  ,
const DataIndex ,
StencilTensor  
) [protected, virtual]

Implements PetscCompGrid.

virtual void PetscCompGridVTO::applyBCs ( IntVect  ,
int  ,
const DataIndex ,
Box  ,
StencilTensor  
) [protected, virtual]

Reimplemented from PetscCompGrid.


Member Data Documentation

Referenced by defineCoefs(), getAlpha(), and setAlpha().

Referenced by defineCoefs(), getBeta(), and setBeta().

Referenced by defineCoefs().

Referenced by defineCoefs().

Referenced by defineCoefs().


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

Generated on Thu May 25 03:27:20 2017 for Chombo + EB + MF by  doxygen 1.5.5