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