LifeV
lifev/eta/tutorials/11_ETA_LaplacianPhiI/main.cpp File Reference

Tutorial for gradient interpolation. More...

+ Include dependency graph for lifev/eta/tutorials/11_ETA_LaplacianPhiI/main.cpp:

Go to the source code of this file.

Typedefs

typedef RegionMesh< LinearTetramesh_Type
 
typedef MatrixEpetra< Realmatrix_Type
 
typedef VectorEpetra vector_Type
 

Functions

Real uOne (const Real &, const Real &x, const Real &y, const Real &z, const ID &i)
 
Real uTestFunctions (const Real &, const Real &x, const Real &y, const Real &z, const ID &i)
 
int main (int argc, char **argv)
 

Detailed Description

Tutorial for gradient interpolation.

Author
Luca Pasquale luca..nosp@m.pasq.nosp@m.uale@.nosp@m.mail.nosp@m..poli.nosp@m.mi.i.nosp@m.t
Date
2013-05

In this tutorial we use two expressions available when integrating with Expression Templates:

  • interpoaltion of the gradient of a given function
  • multiplication by a MatrixSmall We do this by multiplying the gradient by the identity matrix (i.e. we're integrating the divergence)

Tutorials that should be read before: 1,3

Definition in file lifev/eta/tutorials/11_ETA_LaplacianPhiI/main.cpp.

Typedef Documentation

◆ mesh_Type

◆ matrix_Type

◆ vector_Type

Function Documentation

◆ uOne()

Real uOne ( const Real ,
const Real x,
const Real y,
const Real z,
const ID i 
)

◆ uTestFunctions()

Real uTestFunctions ( const Real ,
const Real x,
const Real y,
const Real z,
const ID i 
)

◆ main()

int main ( int  argc,
char **  argv 
)