Closed TTitscher closed 6 years ago
Code looks fine, but I don't like the name Gradient
. Doing e.g. cellIpData.Gradient(magneticField, B::Curl)
is weird. So I'd prefer something else. Maybe ApplyOperator
or at least Derivative
. Also, the namespace might be named Operators
, so for example Operators::Curl
.
Implements the ideas of #197
CellData
is removed fromCellInterface
and passed toCellIpData
. This means:CellInterface
functions// you can specify which differential operator is used, currently // Nabla::Gradient() --> default // Nabla::Strain() auto strain = cellIpData.Apply(dofDisplacements, Nabla::Strain());