![]() |
LifeV
|
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< LinearTetra > | mesh_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) |
Tutorial introducing the expression assembly specialized for the level set problem.
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 RegionMesh<LinearTetra> mesh_Type |
Definition at line 122 of file lifev/level_set/tutorials/1_Volume_computation/main.cpp.
| typedef VectorEpetra vector_Type |
Definition at line 123 of file lifev/level_set/tutorials/1_Volume_computation/main.cpp.
Definition at line 131 of file lifev/level_set/tutorials/1_Volume_computation/main.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 172 of file lifev/level_set/tutorials/1_Volume_computation/main.cpp.