swh:1:snp:f521c49ab17ef7db6ec70b2430e1ed203f50383f
Raw File
Tip revision: d74ac283f63563d062e596d08865fe9b430f6402 authored by Thomas Fischer on 14 October 2021, 10:24:38 UTC
[A/DE] Catch exception in callGMSH instead of crash.
Tip revision: d74ac28
ConstructMeshesFromGeometries.h
/**
 * \file
 * \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
 */

#include <memory>
#include <vector>

#include "MeshLib/Mesh.h"

namespace GeoLib
{
class GEOObjects;
}

namespace MeshGeoToolsLib
{
class SearchLength;
}
namespace MeshGeoToolsLib
{
/// For each named geometry in the give geo_objects (defined on the given \c
/// mesh) constructs a mesh corresponding to the geometry with mappings to the
/// bulk mesh elements and nodes.
std::vector<std::unique_ptr<MeshLib::Mesh>>
constructAdditionalMeshesFromGeoObjects(GeoLib::GEOObjects const& geo_objects,
                                        MeshLib::Mesh const& mesh,
                                        std::unique_ptr<SearchLength>
                                            search_length_algorithm,
                                        bool const multiple_nodes_allowed);

std::string meshNameFromGeometry(std::string const& geometrical_set_name,
                                 std::string const& geometry_name);
}  // namespace MeshGeoToolsLib
back to top