![]() |
LifeV
|
Simple ETA test to compare ETA to ADRAssembly in a 2D space. More...
#include <ETA_ADR2DTest.hpp>
Collaboration diagram for ETA_ADR2DTest:Private Attributes | |
| std::shared_ptr< Epetra_Comm > | M_comm |
| bool | M_verbose |
| ETA_ADR2DTest () | |
| Constructor. More... | |
| ~ETA_ADR2DTest () | |
| Destructor. More... | |
| LifeV::Real | run () |
| To lunch the simulation. More... | |
Simple ETA test to compare ETA to ADRAssembly in a 2D space.
This test computes the matrix associated to the advection-diffusion-reaction problem:
with
,
,
,
and
a scalar field
The domain is the square (-1,1)x(-1,1).
The matrix and the vector for the RHS are first assembled using the class ADRAssembler and then the ExpressionAssembly::integrate function of the ETA module.
if the two matrices (and vectors) are assembled correctly, they should be almost exactly the same.
Definition at line 90 of file ETA_ADR2DTest.hpp.
| ETA_ADR2DTest | ( | ) |
|
inline |
Destructor.
Definition at line 105 of file ETA_ADR2DTest.hpp.
| Real run | ( | ) |
|
private |
Definition at line 120 of file ETA_ADR2DTest.hpp.
|
private |
Definition at line 121 of file ETA_ADR2DTest.hpp.