LifeV
ETA_VectorialADR2DTest Class Reference

Simple ETA test to compare ETA to ADRAssembly in a 2D space with a 2D solution. More...

#include <ETA_VectorialADR2DTest.hpp>

+ Collaboration diagram for ETA_VectorialADR2DTest:

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...
 

Detailed Description

Simple ETA test to compare ETA to ADRAssembly in a 2D space with a 2D solution.

Author
L. Pasquale luca..nosp@m.pasq.nosp@m.uale@.nosp@m.mail.nosp@m..poli.nosp@m.mi.i.nosp@m.t

This test computes the matrix associated to the advection-diffusion-reaction linear operator:
$ Lu=-\alpha \delta u + \beta \cdot \nabla u +\gamma u $
with $\alpha=1$, $\beta=\left(\begin{array}{c}1\\0\end{array}\right)$, $\gamma=2$ and $u$ 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.

Constructor & Destructor Documentation

◆ ETA_VectorialADR2DTest()

Constructor.

Constructors.

Definition at line 81 of file ETA_VectorialADR2DTest.cpp.

◆ ~ETA_VectorialADR2DTest()

Destructor.

Definition at line 105 of file ETA_VectorialADR2DTest.hpp.

Member Function Documentation

◆ run()

Real run ( )

To lunch the simulation.

Methods.

Definition at line 97 of file ETA_VectorialADR2DTest.cpp.

Field Documentation

◆ M_comm

std::shared_ptr<Epetra_Comm> M_comm
private

Definition at line 120 of file ETA_VectorialADR2DTest.hpp.

◆ M_verbose

bool M_verbose
private

Definition at line 121 of file ETA_VectorialADR2DTest.hpp.


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