1#ifndef COMPONENT_USER_MAP_BASE_H
2#define COMPONENT_USER_MAP_BASE_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,
23 bool GetVoltageRange(
double& vmin,
double& vmax){ vmin = vmax = 0.;
return false; }
25 void WeightingField(
const double x,
const double y,
const double z,
26 double& wx,
double& wy,
double& wz,
27 const std::string label);
29 const std::string label);
40 double& u1x,
double& u2x,
double& u3x,
41 double& u1y,
double& u2y,
double& u3y,
42 double& u1z,
double& u2z,
double& u3z,
49 double& u1x,
double& u2x,
double& u3x,
50 double& u1y,
double& u2y,
double& u3y,
51 double& u1z,
double& u2z,
double& u3z,
55 MapCoordinates(p1, p2, p3, u1x, u2x, u3x, u1y, u2y, u3y, u1z, u2z, u3z,
64 void UnmapField(
const double e1 ,
const double e2 ,
const double e3 ,
65 const double u1x,
const double u2x,
const double u3x,
66 const double u1y,
const double u2y,
const double u3y,
67 const double u1z,
const double u2z,
const double u3z,
68 double& ex,
double& ey,
double& ez)
const
70 ex = u1x*e1 + u2x*e2 + u3x*e3;
71 ey = u1y*e1 + u2y*e2 + u3y*e3;
72 ez = u1z*e1 + u2z*e2 + u3z*e3;
void WeightingField(const double x, const double y, const double z, double &wx, double &wy, double &wz, const std::string label)
bool GetVoltageRange(double &vmin, double &vmax)
void UnmapField(const double e1, const double e2, const double e3, const double u1x, const double u2x, const double u3x, const double u1y, const double u2y, const double u3y, const double u1z, const double u2z, const double u3z, double &ex, double &ey, double &ez) const
void ElectricField(const double x, const double y, const double z, double &ex, double &ey, double &ez, Medium *&m, int &status)
double WeightingPotential(const double x, const double y, const double z, const std::string label)
Medium * GetMedium(const double &x, const double &y, const double &z)
virtual ~ComponentUserMapBase()
virtual void MapCoordinates(double &p1, double &p2, double &p3, double &u1x, double &u2x, double &u3x, double &u1y, double &u2y, double &u3y, double &u1z, double &u2z, double &u3z, ComponentBase *&pComponent)=0
virtual void MapCoordinates(double &p1, double &p2, double &p3, double &u1x, double &u2x, double &u3x, double &u1y, double &u2y, double &u3y, double &u1z, double &u2z, double &u3z, ComponentBase *&pComponent, std::string &label)