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< LevelData< FArrayBox > > *a_operator, bool a_homogeneous=false)
virtual int getNNZPerRow () const
void setVTParams (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< LevelData< FArrayBox > > *  a_operator,
bool  a_homogeneous = false 
) [virtual]

Set Function F(u) = 0 and Jacobian dF(u)/du for nonlinear solves

Reimplemented from PetscSolver< LevelData< FArrayBox > >.

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>
void PetscSolverViscousTensor< T >::setVTParams ( 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 Sat Jun 24 03:43:09 2017 for Chombo + EB by  doxygen 1.5.5