Revision 9c63442e45c049964bce7219d16ec23cbfa7c226 authored by Christoph Lehmann on 06 March 2023, 10:21:39 UTC, committed by Christoph Lehmann on 06 March 2023, 10:21:39 UTC
Draft: Beautiful access to element degrees of freedom

See merge request ogs/ogs!4507
2 parent s e4bf9ce + 68c14c3
Raw File
RigidElasticityModel.h
/**
 * \file
 * \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
 *
 * Created on August 14, 2020, 10:56 AM
 */

#pragma once

#include "SimplifiedElasticityModel.h"

namespace ProcessLib
{
namespace ThermoRichardsFlow
{
struct RigidElasticityModel : SimplifiedElasticityModel
{
    RigidElasticityModel() { DBUG("using rigid mechanics model"); }

    double storageContribution(MaterialPropertyLib::Phase const&,
                               MaterialPropertyLib::VariableArray const&,
                               ParameterLib::SpatialPosition const&,
                               double const, double const) override
    {
        return 0.0;
    }

    double thermalExpansivityContribution(
        Eigen::Matrix<double, 3, 3> const&, MaterialPropertyLib::Phase const&,
        MaterialPropertyLib::VariableArray const&,
        ParameterLib::SpatialPosition const&, double const,
        double const) override
    {
        return 0.0;
    }
};

}  // namespace ThermoRichardsFlow
}  // namespace ProcessLib
back to top