Skip to content
Snippets Groups Projects
Commit 2d68cd83 authored by Norihiro Watanabe's avatar Norihiro Watanabe
Browse files

add MaterialLib/FractureModels and its base class

parent 90edaa5b
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
get_source_files(SOURCES)
append_source_files(SOURCES Adsorption)
append_source_files(SOURCES SolidModels)
append_source_files(SOURCES FractureModels)
append_source_files(SOURCES Fluid)
append_source_files(SOURCES Fluid/Density)
......
/**
* \copyright
* Copyright (c) 2012-2016, 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 "ProcessLib/Parameter/Parameter.h"
namespace MaterialLib
{
namespace Fracture
{
template <int DisplacementDim>
class FractureModelBase
{
public:
virtual ~FractureModelBase() {}
virtual void computeConstitutiveRelation(
double const t,
ProcessLib::SpatialPosition const& x,
Eigen::Ref<Eigen::VectorXd const> w_prev,
Eigen::Ref<Eigen::VectorXd const> w,
Eigen::Ref<Eigen::VectorXd const> sigma_prev,
Eigen::Ref<Eigen::VectorXd> sigma,
Eigen::Ref<Eigen::MatrixXd> C) = 0;
};
} // namespace Fracture
} // namespace MaterialLib
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment