1#ifndef G_COMPONENT_ANSYS123_H
2#define G_COMPONENT_ANSYS123_H
16 void ElectricField(
const double x,
const double y,
const double z,
double& ex,
17 double& ey,
double& ez,
Medium*& m,
int& status);
18 void ElectricField(
const double x,
const double y,
const double z,
double& ex,
19 double& ey,
double& ez,
double& v,
Medium*& m,
22 void WeightingField(
const double x,
const double y,
const double z,
23 double& wx,
double& wy,
double& wz,
24 const std::string label);
27 const std::string label);
37 bool Initialise(std::string elist =
"ELIST.lis",
38 std::string nlist =
"NLIST.lis",
39 std::string mplist =
"MPLIST.lis",
40 std::string prnsol =
"PRNSOL.lis", std::string unit =
"cm");
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")
double GetElementVolume(const int i)
void GetAspectRatio(const int i, double &dmin, double &dmax)
Medium * GetMedium(const double &x, const double &y, const double &z)
double WeightingPotential(const double x, const double y, const double z, const std::string label)
bool IsInBoundingBox(const double x, const double y, const double z)
void ElectricField(const double x, const double y, const double z, double &ex, double &ey, double &ez, Medium *&m, int &status)
bool SetWeightingField(std::string prnsol, std::string label)
void WeightingField(const double x, const double y, const double z, double &wx, double &wy, double &wz, const std::string label)
void UpdatePeriodicityCommon()