swh:1:snp:f521c49ab17ef7db6ec70b2430e1ed203f50383f
Raw File
Tip revision: 08f9f3cd77862ea1a1f69c5ade71c27915ff3a1c authored by Dominik Kern on 22 November 2021, 08:28:11 UTC
detail domain
Tip revision: 08f9f3c
SetMeshSpaceDimension.h
/**
 * \file
 * \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
 *
 * Created on May 5, 2021, 12:46 PM
 */

#pragma once

#include <memory>
#include <vector>

namespace MeshLib
{
class Mesh;

/**
 * In this function, the dimension of the space, which contains all nodes of the
 * bulk mesh, is computed, and it is then set as a member of the elements of all
 * meshes.
 *
 * The space dimension is needed for the numerical simulations with a bulk mesh
 * with elements with different dimensions. For example, in a bulk mesh for the
 * numerical simulation of the liquid flow in the fractured porous media, the 1D
 * or 2D elements can be used to represent the fractures, while the elements
 * with higher dimension can be used to discretise the porous medium matrix
 * domain.
 *
 * @param meshes All meshes include the bulk mesh and the meshes for boundary
 * conditions.
 */
void setMeshSpaceDimension(std::vector<std::unique_ptr<Mesh>> const& meshes);
};  // namespace MeshLib
back to top