Revision 3605d8367d07348508e1ef838050fa127866fd8e authored by Dmitri Naumov on 19 May 2021, 15:14:13 UTC, committed by Dmitri Naumov on 19 May 2021, 15:46:41 UTC
1 parent 69d4c4d
Raw File
BoundaryConditionConfig.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
 *
 */

#pragma once

#include "BaseLib/ConfigTree.h"
#include "MeshLib/Mesh.h"

namespace ProcessLib
{
struct BoundaryConditionConfig final
{
    BoundaryConditionConfig(BaseLib::ConfigTree&& config_,
                            MeshLib::Mesh const& mesh_,
                            std::optional<int> const component_id_)
        : config(std::move(config_)),
          boundary_mesh(mesh_),
          component_id(component_id_)
    {
    }

    BoundaryConditionConfig(BoundaryConditionConfig&& other) = default;

    BaseLib::ConfigTree config;
    MeshLib::Mesh const& boundary_mesh;
    std::optional<int> const component_id;
};

}  // namespace ProcessLib
back to top