https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 4cbdc7ad130185be1b4e27c45d3c5a9542109d87 authored by wenqing on 01 March 2023, 15:13:58 UTC
Merge branch 'FE_mini_benchmark1' into 'master'
Tip revision: 4cbdc7a
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