LifeV
structure/examples/example_partitionMesh/main_write.cpp File Reference

Test for PartitionIO class - cut and write. More...

#include <lifev/core/LifeV.hpp>
#include <iostream>
#include <string>
#include "Epetra_config.h"
#include <mpi.h>
#include <Epetra_MpiComm.h>
#include <lifev/core/mesh/MeshPartitioner.hpp>
#include <lifev/core/filter/PartitionIO.hpp>
#include <lifev/core/mesh/MeshData.hpp>
#include <lifev/core/mesh/RegionMesh.hpp>
+ Include dependency graph for structure/examples/example_partitionMesh/main_write.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 

Detailed Description

Test for PartitionIO class - cut and write.

Author
Paolo Tricerri paolo.nosp@m..tri.nosp@m.cerri.nosp@m.@epf.nosp@m.l.ch
Maintainer:
Paolo Tricerri paolo.nosp@m..tri.nosp@m.cerri.nosp@m.@epf.nosp@m.l.ch
Date
10-05-2012

Partition a mesh using a single (MPI) process and save mesh parts to an HDF5 file. The example is very similar to the testsuite/offline_partitionin_io but it reads the infos it needs from data file instead of having some hardcoded variables.

Definition in file structure/examples/example_partitionMesh/main_write.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)