PetscSolverViscousTensor< T > Class Template Reference

#include <PetscSolver.H>

Inheritance diagram for PetscSolverViscousTensor< T >:

Inheritance graph
[legend]

List of all members.

template<class T>
class PetscSolverViscousTensor< T >


Public Member Functions

 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)

Protected Attributes

Real m_alpha
Real m_beta
Real m_dxCrse
LevelData< FArrayBox > * m_a
LevelData< FluxBox > * m_eta
LevelData< FluxBox > * m_lamb

Constructor & Destructor Documentation

template<class T>
PetscSolverViscousTensor< T >::PetscSolverViscousTensor (  ) 


Member Function Documentation

template<class T>
virtual void PetscSolverViscousTensor< T >::define ( LinearOp< T > *  a_operator,
bool  a_homogeneous = true 
) [virtual]

template<class T>
virtual int PetscSolverViscousTensor< T >::getNNZPerRow (  )  const [inline, virtual]

get an estimate of the number of nnz/row for matrix allocation

Reimplemented from PetscSolver< LevelData< FArrayBox > >.

template<class T>
virtual int PetscSolverViscousTensor< T >::formMatrix ( Mat  ,
const LevelData< FArrayBox > *  = 0,
PetscInt  my0 = 0,
PetscInt  nloc = 0,
PetscInt *  d = 0,
PetscInt *  o = 0 
) [virtual]

template<class T>
void PetscSolverViscousTensor< T >::define ( Real  alpha,
Real  beta,
LevelData< FArrayBox > *  a,
LevelData< FluxBox > *  eta,
LevelData< FluxBox > *  lam 
) [inline]


Member Data Documentation

template<class T>
Real PetscSolverViscousTensor< T >::m_alpha [protected]

template<class T>
Real PetscSolverViscousTensor< T >::m_beta [protected]

template<class T>
Real PetscSolverViscousTensor< T >::m_dxCrse [protected]

template<class T>
LevelData<FArrayBox>* PetscSolverViscousTensor< T >::m_a [protected]

template<class T>
LevelData<FluxBox>* PetscSolverViscousTensor< T >::m_eta [protected]

template<class T>
LevelData<FluxBox>* PetscSolverViscousTensor< T >::m_lamb [protected]


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

Generated on Fri Apr 5 04:25:15 2019 for Chombo + EB by  doxygen 1.5.5