Class EJ_ElectricalConductivity
Defined in File ej_electricalconductivity.h
Inheritance Relationships
Base Type
private MaterialProperty
(Class MaterialProperty)
Class Documentation
-
class EJ_ElectricalConductivity : private MaterialProperty
A class for computing Electrical conductivity using the explicit jump method.
An EJ_ElectricalConductivity object is created and used by the compute_EJElectricalConductivity() functions.
See also
compute_EJElectricalConductivity()
Public Functions
-
EJ_ElectricalConductivity(puma::Workspace *segWS, puma::Matrix<double> *T, std::map<int, double> matCond, char dir, double solverTol, int solverMaxIt, bool print, int numThreads)
A constructor which takes in the parameters used in calculating Electrical conductivity from the explicit jump method.
- Parameters
segWS – a segmented workspace containing the domain.
T – a pointer to a puma matrix to store the resulting temperature field.
matCond – a map containing the ID’s for each material and their corresponding Electrical conductivities.
dir – a char specifying which direction to run the simulation in (should be ‘x’, ‘y’, or ‘z’).
solverTol – a double specifying the convergence criterion for the iterative solver used.
solverMaxIt – an integer specifying the maximum number of iterations the solver may execute before exiting.
print – a boolean which specifies whether the the number of iterations and residual are printed after each iteration of the solver.
numThreads – an integer which specifies the number of threads used for the simulation.
-
EJ_ElectricalConductivity(puma::Workspace *segWS, puma::Matrix<double> *T, std::map<int, double> matCond, char dir, double solverTol, int solverMaxIt, bool print, int numThreads)