https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: cab8c37bc0ca98a85df9fcd4ff8952e299b69855 authored by Lars Bilke on 19 July 2021, 09:52:34 UTC
[web] Added hints on local tfel installation.
Tip revision: cab8c37
CreateSearchLength.h
/**
 * \file
 * \brief Functionality to build different search length algorithm objects from
 * given config.
 *
 * \copyright
 * Copyright (c) 2012-2021, 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>

namespace BaseLib
{
class ConfigTree;
}

namespace MeshLib
{
class Mesh;
}

namespace MeshGeoToolsLib
{
class SearchLength;

/// Creates a search length algorithm from the given config.
///
/// In case, that there is no tag for the search length algorithm found in the
/// config, the default SearchLength algorithm is returned.
std::unique_ptr<MeshGeoToolsLib::SearchLength> createSearchLengthAlgorithm(
    BaseLib::ConfigTree const& external_config, MeshLib::Mesh const& mesh);
}  // end namespace MeshGeoToolsLib
back to top