TGAHelmOp< T > Class Template Reference

#include <AMRTGA.H>

Inheritance diagram for TGAHelmOp< T >:

Inheritance graph
[legend]
Collaboration diagram for TGAHelmOp< T >:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<class T>
class TGAHelmOp< T >

This operator is meant to represent the general helmholtz operator that AMRTGA will be solving. This operator is of the form alpha A(x) phi + beta div B(x) grad phi = rho. AMRTGA needs to reset the constants alpha and beta often.

Public Member Functions

 TGAHelmOp ()
virtual ~TGAHelmOp ()
virtual void setAlphaAndBeta (const Real &a_alpha, const Real &a_beta)=0
 set the constants in the equation
virtual void diagonalScale (T &a_rhs)=0
virtual void applyOpNoBoundary (T &a_ans, const T &a_phi)=0
 apply operator without any boundary or coarse-fine boundary conditions and no finer level

Constructor & Destructor Documentation

template<class T>
TGAHelmOp< T >::TGAHelmOp (  )  [inline]

template<class T>
virtual TGAHelmOp< T >::~TGAHelmOp (  )  [inline, virtual]


Member Function Documentation

template<class T>
virtual void TGAHelmOp< T >::setAlphaAndBeta ( const Real a_alpha,
const Real a_beta 
) [pure virtual]

template<class T>
virtual void TGAHelmOp< T >::diagonalScale ( T &  a_rhs  )  [pure virtual]

Set the diagonal scaling of the operator. If you are solving rho(x) dphi/dt = L(phi), this would mean multiply by rho. In EB applications, even for constant coefficients, it means to multiply by kappa.

Implemented in AMRPoissonOp, ResistivityOp, VCAMRPoissonOp, ViscousTensorOp, EBAMRPoissonOp, EBConductivityOp, and EBViscousTensorOp.

template<class T>
virtual void TGAHelmOp< T >::applyOpNoBoundary ( T &  a_ans,
const T &  a_phi 
) [pure virtual]

apply operator without any boundary or coarse-fine boundary conditions and no finer level

Implemented in AMRPoissonOp, ResistivityOp, VCAMRPoissonOp, VCAMRPoissonOp2, ViscousTensorOp, EBAMRPoissonOp, EBConductivityOp, and EBViscousTensorOp.


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

Generated on Tue Apr 14 14:24:01 2009 for Chombo + EB by  doxygen 1.5.5