Electromagnetic Template Library (EMTL)
|
Class packer for TF/SF fix. More...
#include <tfsf.h>
Public Member Functions | |
void | set_output_ptr (EmtypePtr_t optr) override |
Specify pointer at the data array where TF/SF fix will be applied. | |
virtual int | record (indtype ind, emtype coef, const Vector_3 &pos, int field, const Vector_3 &fdir, bool first_upd_field, valtype tshift) override |
Record array index ind, where fix will be applied, coefficient coef, accompanied this fix, position pos where corresponding incident wave is taken (projection fdir of the incident field). | |
virtual ptrdiff_t | store_fix (emFixStorage &fs, const indtype &ref_ind, bool first_upd_field) override |
Record collected cell data into fix storage and clears packs. | |
virtual void | apply_fix (emFixStorage &fs, emtype *dptr, int adv_timestep, std::ptrdiff_t &fix_ind) const override |
Record collected cell data into fix storage and clears packs. | |
virtual int | get_record_data (valtype &distance, emtype &coef, const Vector_3 &pos, int field, const Vector_3 &fdir) override |
Gets distance from source and coefficient: primary recordable TFSF data per contour. | |
virtual void | step () override |
Make one time step (including possible step for the incident source). | |
time_profile_t * | set_time_profile (time_profile_t *tprof_, int managed=0) override |
Resets the time profile, if managed =1, the pointer is managed (deleted) by current object. | |
Additional Inherited Members | |
Protected Attributes inherited from emFixTFSF | |
mngptr< time_profile_t > | tprof |
Time profile in space (for Hyperconic simulations) | |
Class packer for TF/SF fix.
This class contains two packers:
Work with this class assumes 2 stages:
|
inlineoverridevirtual |
Record array index ind, where fix will be applied, coefficient coef, accompanied this fix, position pos where corresponding incident wave is taken (projection fdir of the incident field).
first_upd_field | if true, specifies that H field is updated first on the mesh Выполняется на стадии записи поправки. |
Implements emFixTFSF.
|
inlineoverridevirtual |
Resets the time profile, if managed =1, the pointer is managed (deleted) by current object.
Reimplemented from emFixTFSF.