7 double * relativePermeability =
nullptr;
8 double * relativePermittivity =
nullptr;
11 const double freeSpacePermittivity = 8.854187817E-12;
12 const double freeSpacePermeability = 1.256637061E-6;
20 relativePermeability =
nullptr;
21 relativePermittivity =
nullptr;
37:relativePermeability(relativePermeability), relativePermittivity(relativePermittivity), numberOfNodes(numberOfNodes), yOffset(numberOfNodes), zOffset(numberOfNodes * 2) {}
46 return relativePermeability[index] * freeSpacePermeability;
50 return relativePermeability[index+ yOffset] * freeSpacePermeability;
54 return relativePermeability[index + zOffset] * freeSpacePermeability;
59 return relativePermittivity[index] * freeSpacePermittivity;
63 return relativePermittivity[index + yOffset] * freeSpacePermittivity;
67 return relativePermittivity[index + zOffset] * freeSpacePermittivity;
int64_t index_t
Definition SystemDependentDefines.h:13
Definition MaterialProperties.h:5
double GetPermittivityInX(index_t index) const
Definition MaterialProperties.h:57
const index_t GetNumberOfNodes() const
Definition MaterialProperties.h:39
double GetPermeabilityInX(index_t index) const
Definition MaterialProperties.h:44
double GetPermittivityInY(index_t index) const
Definition MaterialProperties.h:61
double GetPermeabilityInZ(index_t index) const
Definition MaterialProperties.h:52
double GetPermittivityInZ(index_t index) const
Definition MaterialProperties.h:65
MaterialProperties(MaterialProperties &other)=delete
double GetPermeabilityInY(index_t index) const
Definition MaterialProperties.h:48
~MaterialProperties()
Definition MaterialProperties.h:18
MaterialProperties(double *permeability, double *permittivity, index_t numberOfNodes)
Definition MaterialProperties.h:36
MaterialProperties & operator=(const MaterialProperties &other)=delete