waLBerla 7.2
Loading...
Searching...
No Matches
MeshIO.h File Reference

Detailed Description

#include "core/DataTypes.h"
#include "core/mpi/Broadcast.h"
#include "core/mpi/BufferDataTypeExtensions.h"
#include <fstream>
#include <string>
#include "core/Filesystem.h"
#include <OpenMesh/Core/IO/MeshIO.hh>

Namespaces

namespace  walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
 
namespace  walberla::mesh
 

Functions

template<typename MeshType >
bool walberla::mesh::readFromStream (std::istream &inputStream, MeshType &mesh, const std::string &extension, bool binaryFile=false)
 Reads a mesh from a generic input stream.
 
template<typename MeshType >
void walberla::mesh::readAndBroadcast (const std::string &filename, MeshType &mesh, bool binaryFile=false)
 Loads an OpenMesh in parallel.
 
template<typename MeshType >
void walberla::mesh::readFromFile (const std::string &filename, MeshType &mesh, bool binaryFile=false)
 Read a mesh from a file.