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