PetscSolverPoisson< T > Class Template Reference

#include <PetscSolver.H>

Inheritance diagram for PetscSolverPoisson< T >:

Inheritance graph

List of all members.

template<class T>
class PetscSolverPoisson< T >

Public Member Functions

 PetscSolverPoisson ()
virtual void define (Real a_dx, bool a_homogeneous=true)
virtual void define (LinearOp< T > *a_op, bool a_homogeneous=true)

Public Attributes

Real m_alpha
Real m_beta

Constructor & Destructor Documentation

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

Member Function Documentation

template<class T>
virtual void PetscSolverPoisson< T >::define ( Real  a_dx,
bool  a_homogeneous = true 
) [virtual]

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

Reimplemented from PetscSolver< T >.

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

Define the operator and whether it is a homogeneous solver or not. The LinearSolver does not take over ownership of this a_operator object. It does not call delete on it when the LinearSolver is deleted. It is meant to be like a late-binding reference. If you created a_operator with new, you should call delete on it after LinearSolver is deleted if you want to avoid memory leaks.

Reimplemented from PetscSolver< T >.

References PetscSolver< T >::define().

Member Data Documentation

template<class T>
Real PetscSolverPoisson< T >::m_alpha

template<class T>
Real PetscSolverPoisson< T >::m_beta

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

Generated on Fri Aug 18 04:04:06 2017 for Chombo + EB by  doxygen 1.5.5