https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: c7a4e88f7fee6fba65641de22f8b0c4ff25cc0e8 authored by Christoph Lehmann on 28 March 2023, 18:23:30 UTC
Merge branch 'matrix-output' into 'master'
Tip revision: c7a4e88
ConvertToLinearMesh.h
/**
 * \file
 * \copyright
 * Copyright (c) 2012-2023, 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 <memory>
#include <string>

#include "MeshLib/Mesh.h"

namespace MeshLib
{
/// Converts a non-linear mesh to a linear mesh. All the mesh properties will
/// be copied except for entries for non-linear nodes.
std::unique_ptr<MeshLib::Mesh> convertToLinearMesh(
    const MeshLib::Mesh& mesh, const std::string& new_mesh_name);

}  // end namespace MeshLib
back to top