3#ifndef G_COMPONENT_USER_H
4#define G_COMPONENT_USER_H
18 void ElectricField(
const double x,
const double y,
const double z,
double& ex,
19 double& ey,
double& ez,
Medium*& m,
int& status);
20 void ElectricField(
const double x,
const double y,
const double z,
double& ex,
21 double& ey,
double& ez,
double& v,
Medium*& m,
24 void WeightingField(
const double x,
const double y,
const double z,
25 double& wx,
double& wy,
double& wz,
26 const std::string label);
28 const std::string label);
31 double&,
double&,
double&));
32 void SetPotential(
void (*f)(
const double,
const double,
const double,
36 double&,
double&,
double&,
39 double&,
const std::string));
44 void (*field)(
const double,
const double,
const double,
double&,
double&,
49 void (*potential)(
const double,
const double,
const double,
double&);
52 bool hasWeightingField;
53 void (*wfield)(
const double,
const double,
const double,
double&,
double&,
54 double&,
const std::string);
57 bool hasWeightingPotential;
58 void (*wpot)(
const double,
const double,
const double,
double&,
64 void UpdatePeriodicity();
void SetWeightingField(void(*f)(const double, const double, const double, double &, double &, double &, const std::string))
double WeightingPotential(const double x, const double y, const double z, const std::string label)
bool GetVoltageRange(double &vmin, double &vmax)
void SetElectricField(void(*f)(const double, const double, const double, double &, double &, double &))
void ElectricField(const double x, const double y, const double z, double &ex, double &ey, double &ez, Medium *&m, int &status)
void WeightingField(const double x, const double y, const double z, double &wx, double &wy, double &wz, const std::string label)
void SetPotential(void(*f)(const double, const double, const double, double &))
void SetWeightingPotential(void(*f)(const double, const double, const double, double &, const std::string))