Revision e5d2a18651d52db235f6a7fd2a394632728847cf authored by Lars Bilke on 06 October 2021, 10:33:42 UTC, committed by Lars Bilke on 06 October 2021, 10:33:42 UTC
Check should executed only for system-wide hdf5 installs.
When CPM is used the correct hdf5 configuration is guaranteed.
1 parent 1ec62b9
Raw File
AddLayerToMesh.h
/**
 * \file
 * \author Karsten Rink
 * \date   2016-01-18
 * \brief  Definition of AddLayerToMesh class
 *
 * \copyright
 * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 */

#pragma once

#include <vector>
#include <string>

namespace MeshLib
{

class Mesh;
class Node;
class Element;

/// Adds a layer to the mesh. If on_top is true, the layer is added on top,
/// if it is false, the layer is added at the bottom.
MeshLib::Mesh* addLayerToMesh(MeshLib::Mesh const& mesh, double thickness,
                              std::string const& name, bool on_top,
                              bool copy_material_ids);

} // end namespace MeshLib
back to top