valSPH
 All Classes Files Functions Variables
MultigridSolver Class Reference

#include <MultigridSolver.h>

Inheritance diagram for MultigridSolver:
Inheritance graph
Collaboration diagram for MultigridSolver:
Collaboration graph

Public Member Functions

 MultigridSolver ()
 It creates a new empty multigrid solver.
 
vector< double > solve (Equation *eq, vector< double > X0, double h, double ti)
 It implements a step of the multigrid solver.
 
 ~MultigridSolver ()
 It destroys the multigrid solver object.
 
- Public Member Functions inherited from PdeSolver
 PdeSolver ()
 It creates a new empty PdeSolver. It will be invoked by the constructors of its children classes.
 
 ~PdeSolver ()
 It destroys the PdeSolver object.
 

Constructor & Destructor Documentation

MultigridSolver::MultigridSolver ( )

It creates a new empty multigrid solver.

MultigridSolver::~MultigridSolver ( )

It destroys the multigrid solver object.

Member Function Documentation

vector< double > MultigridSolver::solve ( Equation eq,
vector< double >  X0,
double  h,
double  ti 
)
virtual

It implements a step of the multigrid solver.

Parameters
eqthe equations we want to solve
X0the initial value
hsize of the intervals
tiactual time step
Returns
the solution of the PDE

Implements PdeSolver.

Here is the call graph for this function:


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