LifeV
lifev/level_set/tutorials/1_Volume_computation/main.cpp File Reference

Tutorial introducing the expression assembly specialized for the level set problem. More...

#include <Epetra_ConfigDefs.h>
#include <Epetra_SerialComm.h>
#include <lifev/core/LifeV.hpp>
#include <lifev/core/mesh/MeshPartitioner.hpp>
#include <lifev/core/mesh/RegionMesh3DStructured.hpp>
#include <lifev/core/mesh/RegionMesh.hpp>
#include <lifev/core/fem/FESpace.hpp>
#include <lifev/core/array/VectorEpetra.hpp>
#include <lifev/eta/fem/ETFESpace.hpp>
#include <lifev/eta/expression/Integrate.hpp>
#include <boost/shared_ptr.hpp>
#include <lifev/level_set/fem/LevelSetQRAdapter.hpp>
+ Include dependency graph for lifev/level_set/tutorials/1_Volume_computation/main.cpp:

Go to the source code of this file.

Data Structures

class  HeavisideFunctor
 

Typedefs

typedef RegionMesh< LinearTetramesh_Type
 
typedef VectorEpetra vector_Type
 

Functions

Real phiFct (const Real &, const Real &x, const Real &y, const Real &, const ID &)
 
int main (int argc, char **argv)
 

Detailed Description

Tutorial introducing the expression assembly specialized for the level set problem.

Author
Samuel Quinodoz samue.nosp@m.l.qu.nosp@m.inodo.nosp@m.z@ep.nosp@m.fl.ch
Date
08-08-2012

In this simple tutorial, we show how to use a special integration scheme to compute the volume comprise in the domain {phi>0} where phi is a given level set function. To this aim, we define a mesh, interpolate the phi function on it and then use the special integration.

Before reading this tutorial, the tutorials concerning the ETA module should be read.

Definition in file lifev/level_set/tutorials/1_Volume_computation/main.cpp.

Typedef Documentation

◆ mesh_Type

◆ vector_Type

Function Documentation

◆ phiFct()

Real phiFct ( const Real ,
const Real x,
const Real y,
const Real ,
const ID  
)

◆ main()

int main ( int  argc,
char **  argv 
)