NuTo
Numerics Tool
Integrand.h
Go to the documentation of this file.
1 #pragma once
6 #include "nuto/mechanics/cell/IPValue.h"
7 
8 namespace NuTo
9 {
10 template <int TDim>
11 class Integrand
12 {
13 public:
14  virtual Integrand<TDim>* Clone() const = 0;
15  virtual ~Integrand() = default;
16  virtual DofVector<double> Gradient(const CellData&, const CellIpData<TDim>&) = 0;
17  virtual DofMatrix<double> Hessian0(const CellData&, const CellIpData<TDim>&) = 0;
18  virtual std::vector<IPValue> IPValues(const CellData&, const CellIpData<TDim>&) = 0;
19 };
20 
21 } /* NuTo */
virtual Integrand< TDim > * Clone() const =0
virtual DofVector< double > Gradient(const CellData &, const CellIpData< TDim > &)=0
virtual ~Integrand()=default
Similar to NuTo::CellData.
Definition: CellIpData.h:14
virtual DofMatrix< double > Hessian0(const CellData &, const CellIpData< TDim > &)=0
virtual std::vector< IPValue > IPValues(const CellData &, const CellIpData< TDim > &)=0
dof container that is also capable of performing calculations.
Definition: DofMatrixContainer.h:13
Definition: Exception.h:6
Extracts &#39;cell data&#39; like nodal values from the cell.
Definition: CellData.h:14
Definition: Integrand.h:11