ParMooN
 All Classes Functions Variables Friends Pages
Public Member Functions | List of all members
Example_CD2D Class Reference

store all functions needed to describe a convection–diffusion example More...

#include <Example_CD2D.h>

Inheritance diagram for Example_CD2D:
Inheritance graph
[legend]
Collaboration diagram for Example_CD2D:
Collaboration graph
[legend]

Public Member Functions

 Example_CD2D ()
 default constructor More...
 
 Example_CD2D (std::vector< DoubleFunct2D * > exact, std::vector< BoundCondFunct2D * > bc, std::vector< BoundValueFunct2D * > bd, CoeffFct2D *coeffs)
 initialize your own example More...
 
- Public Member Functions inherited from Example2D
 Example2D (std::vector< DoubleFunct2D * > exact, std::vector< BoundCondFunct2D * > bc, std::vector< BoundValueFunct2D * > bd, CoeffFct2D *coeffs)
 initialize your own example More...
 
const std::vector
< DoubleFunct2D * > & 
get_exact () const
 
DoubleFunct2D * get_exact (unsigned int i) const
 
BoundCondFunct2D ** get_bc ()
 
BoundCondFunct2D * get_bc (unsigned int i) const
 
BoundValueFunct2D ** get_bd ()
 
BoundValueFunct2D * get_bd (unsigned int i) const
 
CoeffFct2D * get_coeffs () const
 

Additional Inherited Members

- Public Attributes inherited from Example2D
std::vector< DoubleFunct2D * > exact_solution
 
std::vector< BoundCondFunct2D * > boundary_conditions
 
std::vector< BoundValueFunct2D * > boundary_data
 
CoeffFct2D * problem_coefficients
 
- Protected Member Functions inherited from Example2D
 Example2D ()
 default constructor More...
 

Detailed Description

store all functions needed to describe a convection–diffusion example


Depending on the value of TDatabase::ParamDB->EXAMPLE, the standard constructor of this class will fill the vectors (in Example2D) with pointers to the functions needed to fully describe a particular example.

Author
Ulrich Wilbrandt,
Date
13.03.15

Constructor & Destructor Documentation

Example_CD2D::Example_CD2D ( )

default constructor

This intializes a convection-diffusion example in 2D. It is chosen according to TDatabase::ParamDB->EXAMPLE.

exact_solution

boundary condition

boundary values

coefficients

exact_solution

boundary condition

boundary values

coefficients

exact_solution

boundary condition

boundary values

coefficients

Example_CD2D::Example_CD2D ( std::vector< DoubleFunct2D * >  exact,
std::vector< BoundCondFunct2D * >  bc,
std::vector< BoundValueFunct2D * >  bd,
CoeffFct2D *  coeffs 
)
inline

initialize your own example

Create an example with all vectors already defined.


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