1#ifndef G_COMPONENT_ANSYS121_H
2#define G_COMPONENT_ANSYS121_H
17 void ElectricField(
const double x,
const double y,
const double z,
double& ex,
18 double& ey,
double& ez,
Medium*& m,
int& status);
19 void ElectricField(
const double x,
const double y,
const double z,
double& ex,
20 double& ey,
double& ez,
double& v,
Medium*& m,
23 void WeightingField(
const double x,
const double y,
const double z,
24 double& wx,
double& wy,
double& wz,
25 const std::string label);
28 const std::string label);
30 bool Initialise(std::string elist =
"ELIST.lis",
31 std::string nlist =
"NLIST.lis",
32 std::string mplist =
"MPLIST.lis",
33 std::string prnsol =
"PRNSOL.lis", std::string unit =
"cm");
43 void SetRangeZ(
const double zmin,
const double zmax);
bool SetWeightingField(std::string prnsol, std::string label)
void ElectricField(const double x, const double y, const double z, double &ex, double &ey, double &ez, Medium *&m, int &status)
double GetElementVolume(const int i)
void GetAspectRatio(const int i, double &dmin, double &dmax)
bool Initialise(std::string elist="ELIST.lis", std::string nlist="NLIST.lis", std::string mplist="MPLIST.lis", std::string prnsol="PRNSOL.lis", std::string unit="cm")
bool IsInBoundingBox(const double x, const double y, const double z)
Medium * GetMedium(const double &x, const double &y, const double &z)
void WeightingField(const double x, const double y, const double z, double &wx, double &wy, double &wz, const std::string label)
void SetRangeZ(const double zmin, const double zmax)
double WeightingPotential(const double x, const double y, const double z, const std::string label)