https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 0a3a28d66b13f541165296e63871c110ad753e38 authored by Lars Bilke on 07 March 2023, 23:31:14 UTC
Merge branch 'notebook-docs' into 'master'
Tip revision: 0a3a28d
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