https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 3d10427812df761a592f3a3ec212f64cf0233716 authored by MostafaMollaali on 10 March 2023, 16:36:46 UTC
Merge branch 'kregime-propagating' into 'master'
Tip revision: 3d10427
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