14 double ****tensor =
nullptr;
40 return i.size() > 0 &&
j.size() > 0 &&
k.size() > 0 &&
n.size() > 0;
43 inline double ***operator[](
int value)
const {
return tensor[value]; };
55 int n_simulation_timesteps);
Classes describing arrays, vertices etc.
Definition fieldsample.h:11
Vector< int > i
Definition fieldsample.h:19
Vector< int > k
Definition fieldsample.h:23
bool all_vectors_are_non_empty() const
Definition fieldsample.h:39
Vector< int > j
Definition fieldsample.h:21
Vector< double > n
Vector of the moments of the field to sample.
Definition fieldsample.h:25
void set_from(const mxArray *ptr)
Setup using data from an input file.
Definition fieldsample.cpp:3
void extract(ElectricSplitField &E_split, PerfectlyMatchedLayer &pml, int n_simulation_timesteps)
Extract the (Electric) field values at the vertices.
Definition fieldsample.cpp:27
mxArray * mx
Matlab array.
Definition fieldsample.h:17
Classes for the electric and magnetic (split) fields on a grid.
Classes collecting parameters for the simulation.
Definition simulation_parameters.h:15