OGS
LocalAssemblerInterface.h
Go to the documentation of this file.
1
11#pragma once
12
16
17namespace ProcessLib
18{
19namespace HydroMechanics
20{
21template <int DisplacementDim>
24{
25 virtual std::size_t setIPDataInitialConditions(
26 std::string_view const name, double const* values,
27 int const integration_order) = 0;
28
29 virtual std::vector<double> getSigma() const = 0;
30
31 virtual std::vector<double> getEpsilon() const = 0;
32
33 virtual std::vector<double> getStrainRateVariable() const = 0;
34
35 virtual std::vector<double> const& getIntPtSigma(
36 const double t,
37 std::vector<GlobalVector*> const& x,
38 std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
39 std::vector<double>& cache) const = 0;
40
41 virtual std::vector<double> const& getIntPtEpsilon(
42 const double t,
43 std::vector<GlobalVector*> const& x,
44 std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
45 std::vector<double>& cache) const = 0;
46
47 virtual std::vector<double> const& getIntPtDarcyVelocity(
48 const double t,
49 std::vector<GlobalVector*> const& x,
50 std::vector<NumLib::LocalToGlobalIndexMap const*> const& dof_table,
51 std::vector<double>& cache) const = 0;
52
53 // TODO move to NumLib::ExtrapolatableElement
54 virtual unsigned getNumberOfIntegrationPoints() const = 0;
55
56 virtual int getMaterialID() const = 0;
57
59 DisplacementDim>::MaterialStateVariables const&
60 getMaterialStateVariablesAt(unsigned /*integration_point*/) const = 0;
61};
62
63} // namespace HydroMechanics
64} // namespace ProcessLib
virtual unsigned getNumberOfIntegrationPoints() const =0
virtual std::size_t setIPDataInitialConditions(std::string_view const name, double const *values, int const integration_order)=0
virtual std::vector< double > getSigma() const =0
virtual std::vector< double > const & getIntPtSigma(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtDarcyVelocity(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual std::vector< double > const & getIntPtEpsilon(const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const =0
virtual MaterialLib::Solids::MechanicsBase< DisplacementDim >::MaterialStateVariables const & getMaterialStateVariablesAt(unsigned) const =0
virtual std::vector< double > getStrainRateVariable() const =0
virtual std::vector< double > getEpsilon() const =0