Gascoigne::StdTimeSolver Class Reference

Default nonlinear Solver for time-dependent Equations. More...

#include <stdtimesolver.h>

Inheritance diagram for Gascoigne::StdTimeSolver:

Inheritance graph
[legend]
Collaboration diagram for Gascoigne::StdTimeSolver:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StdTimeSolver ()
 ~StdTimeSolver ()
void BasicInit (int level, const ParamFile *pfparamfile, const int dimension)
void RegisterMatrix ()
 vector - manamgement
void ReInitMatrix ()
void SetTimeData (double dt, double theta, double time, double oldrhs=-1., double newrhs=1.)
void SetProblem (const ProblemDescriptorInterface &PDX)
void InitialCondition (VectorInterface &f, double d=1.) const
void TimeRhsOperator (VectorInterface &f, const VectorInterface &u) const
void TimeRhs (int k, VectorInterface &f) const
void Form (VectorInterface &y, const VectorInterface &x, double d) const
 vector - residual (integration)
void AssembleMatrix (const VectorInterface &u, double d)
 vector - matrix
std::string GetName () const
void L2Projection (VectorInterface &u, VectorInterface &f)
void SetMassMatrix (MatrixInterface &MM, bool init=false)
const MatrixInterfaceGetMassMatrix () const
MatrixInterfaceGetMassMatrix ()

Protected Member Functions

MatrixInterface *& GetMassMatrixPointer ()
const TimePatternGetTimePattern () const
TimePatternGetTimePattern ()
virtual MatrixInterfaceNewMassMatrix (int ncomp, const std::string &matrixtype)
virtual std::string PrecondCGMass (GlobalVector &u, GlobalVector &f, const TimePattern &TP, double s=1.)

Protected Attributes

double _dt
double _theta
double _time
fixarray< 2, double > _rhs

Detailed Description

Default nonlinear Solver for time-dependent Equations.


Constructor & Destructor Documentation

Gascoigne::StdTimeSolver::StdTimeSolver (  ) 

Gascoigne::StdTimeSolver::~StdTimeSolver (  ) 


Member Function Documentation

void Gascoigne::StdTimeSolver::AssembleMatrix ( const VectorInterface u,
double  d 
) [virtual]

vector - matrix

Reimplemented from Gascoigne::StdSolver.

void Gascoigne::StdTimeSolver::BasicInit ( int  level,
const ParamFile pfparamfile,
const int  dimension 
) [virtual]

Reimplemented from Gascoigne::StdSolver.

void Gascoigne::StdTimeSolver::Form ( VectorInterface y,
const VectorInterface x,
double  d 
) const [virtual]

vector - residual (integration)

Reimplemented from Gascoigne::StdSolver.

MatrixInterface* Gascoigne::StdTimeSolver::GetMassMatrix (  )  [inline]

const MatrixInterface* Gascoigne::StdTimeSolver::GetMassMatrix (  )  const [inline]

MatrixInterface*& Gascoigne::StdTimeSolver::GetMassMatrixPointer (  )  [inline, protected]

string Gascoigne::StdTimeSolver::GetName (  )  const [virtual]

Reimplemented from Gascoigne::StdSolver.

TimePattern& Gascoigne::StdTimeSolver::GetTimePattern (  )  [inline, protected]

const TimePattern& Gascoigne::StdTimeSolver::GetTimePattern (  )  const [inline, protected]

void Gascoigne::StdTimeSolver::InitialCondition ( VectorInterface f,
double  d = 1. 
) const [virtual]

Reimplemented from Gascoigne::SolverInterface.

void Gascoigne::StdTimeSolver::L2Projection ( VectorInterface u,
VectorInterface f 
) [virtual]

Reimplemented from Gascoigne::SolverInterface.

MatrixInterface * Gascoigne::StdTimeSolver::NewMassMatrix ( int  ncomp,
const std::string matrixtype 
) [protected, virtual]

string Gascoigne::StdTimeSolver::PrecondCGMass ( GlobalVector u,
GlobalVector f,
const TimePattern TP,
double  s = 1. 
) [protected, virtual]

void Gascoigne::StdTimeSolver::RegisterMatrix (  )  [virtual]

vector - manamgement

Reimplemented from Gascoigne::StdSolver.

void Gascoigne::StdTimeSolver::ReInitMatrix (  )  [virtual]

Reimplemented from Gascoigne::StdSolver.

void Gascoigne::StdTimeSolver::SetMassMatrix ( MatrixInterface MM,
bool  init = false 
)

void Gascoigne::StdTimeSolver::SetProblem ( const ProblemDescriptorInterface PDX  )  [virtual]

Reimplemented from Gascoigne::StdSolver.

void Gascoigne::StdTimeSolver::SetTimeData ( double  dt,
double  theta,
double  time,
double  oldrhs = -1.,
double  newrhs = 1. 
)

void Gascoigne::StdTimeSolver::TimeRhs ( int  k,
VectorInterface f 
) const [virtual]

Reimplemented from Gascoigne::SolverInterface.

void Gascoigne::StdTimeSolver::TimeRhsOperator ( VectorInterface f,
const VectorInterface u 
) const [virtual]

Reimplemented from Gascoigne::SolverInterface.


Member Data Documentation

double Gascoigne::StdTimeSolver::_dt [protected]

fixarray<2,double> Gascoigne::StdTimeSolver::_rhs [protected]

double Gascoigne::StdTimeSolver::_theta [protected]

double Gascoigne::StdTimeSolver::_time [protected]


The documentation for this class was generated from the following files:
Generated on Thu Sep 14 10:51:49 2006 for Gascoigne by  doxygen 1.4.7