summaryrefslogtreecommitdiff
path: root/openEMS/Common/engine_interface_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'openEMS/Common/engine_interface_base.h')
-rw-r--r--openEMS/Common/engine_interface_base.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openEMS/Common/engine_interface_base.h b/openEMS/Common/engine_interface_base.h
index 6ce466b..15be488 100644
--- a/openEMS/Common/engine_interface_base.h
+++ b/openEMS/Common/engine_interface_base.h
@@ -56,6 +56,10 @@ public:
virtual double* GetJField(const unsigned int* pos, double* out) const =0;
//! Get the total current density field by rot(H) at \p pos. \sa SetInterpolationType
virtual double* GetRotHField(const unsigned int* pos, double* out) const =0;
+ //! Get the (interpolated) electric flux density field at \p pos. \sa SetInterpolationType
+ virtual double* GetDField(const unsigned int* pos, double* out) const =0;
+ //! Get the (interpolated) magnetic flux density field at \p pos. \sa SetInterpolationType
+ virtual double* GetBField(const unsigned int* pos, double* out) const =0;
//! Calculate the electric field integral along a given line
virtual double CalcVoltageIntegral(const unsigned int* start, const unsigned int* stop) const =0;