From 55b078c7b346fd3c99dd790635d9a7d0298e31f9 Mon Sep 17 00:00:00 2001 From: renchao_lu <renchao.lu@gmail.com> Date: Sun, 30 May 2021 18:46:36 +0200 Subject: [PATCH] [PL/Stokes] add process data. --- ProcessLib/StokesFlow/StokesFlowProcessData.h | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 ProcessLib/StokesFlow/StokesFlowProcessData.h diff --git a/ProcessLib/StokesFlow/StokesFlowProcessData.h b/ProcessLib/StokesFlow/StokesFlowProcessData.h new file mode 100644 index 00000000000..b0d470156df --- /dev/null +++ b/ProcessLib/StokesFlow/StokesFlowProcessData.h @@ -0,0 +1,38 @@ +/** + * \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 <Eigen/Eigen> +#include <memory> + +#include "MeshLib/PropertyVector.h" + +namespace MaterialPropertyLib +{ +class MaterialSpatialDistributionMap; +} + +namespace ProcessLib +{ +namespace StokesFlow +{ +struct StokesFlowProcessData +{ + std::unique_ptr<MaterialPropertyLib::MaterialSpatialDistributionMap> + media_map; + /// an external force that applies in the bulk of the fluid, like gravity. + Eigen::VectorXd const specific_body_force; + + MeshLib::PropertyVector<double>* pressure_interpolated = nullptr; +}; + +} // namespace StokesFlow +} // namespace ProcessLib -- GitLab