MCPcopy Create free account
hub / github.com/NanoComp/meep / component_fun

Function component_fun

src/h5fields.cpp:378–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376/***************************************************************************/
377
378static complex<double> component_fun(const complex<realnum> *fields, const vec &loc, void *data_) {
379 (void)loc; // unused
380 (void)data_; // unused
381 return cdouble(fields[0]);
382}
383
384void fields::output_hdf5(component c, const volume &where, h5file *file, bool append_data,
385 bool single_precision, const char *prefix, double frequency) {

Callers

nothing calls this directly

Calls 1

cdoubleFunction · 0.85

Tested by

no test coverage detected