LifeV
ETA_ADR2DTest Class Reference

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

Detailed Description

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

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 problem:
$ -\alpha \delta u + \beta \cdot \nabla u +\gamma u = f $
with $\alpha=1$, $\beta=\left(\begin{array}{c}1\\0\end{array}\right)$, $\gamma=2$, $f=2$ and $u$ 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.

Constructor & Destructor Documentation

◆ ETA_ADR2DTest()

Constructor.

Constructors.

Definition at line 87 of file ETA_ADR2DTest.cpp.

◆ ~ETA_ADR2DTest()

~ETA_ADR2DTest ( )
inline

Destructor.

Definition at line 105 of file ETA_ADR2DTest.hpp.

Member Function Documentation

◆ run()

Real run ( )

To lunch the simulation.

Methods.

Definition at line 103 of file ETA_ADR2DTest.cpp.

Field Documentation

◆ M_comm

std::shared_ptr<Epetra_Comm> M_comm
private

Definition at line 120 of file ETA_ADR2DTest.hpp.

◆ M_verbose

bool M_verbose
private

Definition at line 121 of file ETA_ADR2DTest.hpp.


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