swh:1:snp:f521c49ab17ef7db6ec70b2430e1ed203f50383f
Raw File
Tip revision: 6f962a92ded4524812cd18fe44381b1cc081a0c9 authored by Lars Bilke on 24 November 2021, 11:23:26 UTC
test
Tip revision: 6f962a9
StokesFlowProcessData.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 <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;

    /// When true, the Darcy term will be
    /// included in the momentum balance equation.
    bool const use_stokes_brinkman_form;

    MeshLib::PropertyVector<double>* pressure_interpolated = nullptr;
};

}  // namespace StokesFlow
}  // namespace ProcessLib
back to top