Revision c875e4ff557ae541c8622262a0924dc04d7ce5b9 authored by wenqing on 27 April 2023, 12:16:22 UTC, committed by wenqing on 27 April 2023, 12:16:22 UTC
Draft: [HM] Improvement of the fixed stress splitting approach in the staggered scheme See merge request ogs/ogs!4578
CreateSearchLength.h
/**
* \file
* \brief Functionality to build different search length algorithm objects from
* given config.
*
* \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
*/
#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
Computing file changes ...