https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 67e9fc54435746f4e4ea4c3bbd60ef997f2c9e75 authored by Tom Fischer on 10 May 2023, 11:10:00 UTC
Merge branch 'RasterImprovements' into 'master'
Tip revision: 67e9fc5
QuadraticMeshGenerator.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
 */

#include <memory>

namespace MeshLib
{
class Mesh;
}

namespace MeshLib
{
/// Create a quadratic order mesh from the linear order mesh. For some element
/// types like Quad-4, a centre node might be added if the \c add_centre_node
/// flag is set, yielding a Quad-9.
std::unique_ptr<Mesh> createQuadraticOrderMesh(Mesh const& linear_mesh,
                                               bool const add_centre_node);

} // namespace MeshLib
back to top