#include <Eddy2D_geometries.hh>
Public Member Functions | |
EddyGeometry2DRectImport (const std::string coord, const std::string elms, const std::string attributes, const uint idxStart=1, const std::string meshAbbr="", const Real j0=1.0, const Real sigma=SIGMA_CU, const Real sigma0=0.0) | |
EddyGeometry2DRectImport (const std::string path, const std::string meshAbbr, const Real j0=1.0, const Real sigma=SIGMA_CU, const Real sigma0=0.0) | |
virtual Mesh2 & | mesh () |
Mesh. | |
virtual const PiecewiseFormulaBase< Real > * | J0x () const |
piecewise defined formula | |
virtual const PiecewiseFormulaBase< Real > * | J0y () const |
piecewise defined formula | |
virtual const PiecewiseFormulaBase< Real2d > * | J0 () const |
piecewise defined formula | |
virtual void | dataout (concepts::InOutParameters &output) |
writes information to output object | |
Set< uint > | outerBoundary () const |
Return the attributes of the outer boundary. | |
Set< uint > | innerBoundary () const |
Return the attributes of the inner boundaries. | |
PiecewiseConstFormula< Real > & | sigma () |
Piecewise constant conductivity. | |
const PiecewiseConstFormula< Real > & | sigma () const |
void | meshAbbreviation (const char *meshAbbr) |
const std::string | meshAbbreviation () const |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Protected Attributes | |
Set< uint > | outerBoundary_ |
Attributes of outer and inner boundaries. | |
Set< uint > | innerBoundary_ |
PiecewiseConstFormula< Real > | sigma_ |
Piecewise constant conductivity. | |
std::string | meshAbbr_ |
Abbreviation for the mesh. | |
Rectangular geometry, source current
Definition at line 140 of file Eddy2D_geometries.hh.
concepts::EddyGeometry2DRectImport::EddyGeometry2DRectImport | ( | const std::string | coord, |
const std::string | elms, | ||
const std::string | attributes, | ||
const uint | idxStart = 1 , |
||
const std::string | meshAbbr = "" , |
||
const Real | j0 = 1.0 , |
||
const Real | sigma = SIGMA_CU , |
||
const Real | sigma0 = 0.0 |
||
) |
Constructor
Attribute 2 is for conductive material. Attributes 3 to 10 are for the coil (3 is for direction (1,0), following counter-clockwise)
coord | File with coordinates of vertices. |
elms | File with node numbers of quads. |
attributes | File with node numbers of edges and cells with attributes for boundary condition and material. |
idxStart | Starting point of indices in the files (1 or 0) |
meshAbbr | abbreviation for the mesh |
j0 | current density in A/m^2 |
sigma | conductivity in 1/Ohm/m |
sigma0 | default value for conductivity |
concepts::EddyGeometry2DRectImport::EddyGeometry2DRectImport | ( | const std::string | path, |
const std::string | meshAbbr, | ||
const Real | j0 = 1.0 , |
||
const Real | sigma = SIGMA_CU , |
||
const Real | sigma0 = 0.0 |
||
) |
Constructor
Attribute 2 is for conductive material. Attributes 3 to 10 are for the coil (3 is for direction (1,0), following counter-clockwise)
The mesh files have the names Coord_1Q.dat, Elem_1Q.dat and Bound_1Q.dat for meshAbbr
= "1Q" and lie in path
. The starting point for indices is 1.
path | Path, where the input files are |
meshAbbr | abbreviation for the mesh |
j0 | current density in A/m^2 |
sigma | conductivity in 1/Ohm/m |
sigma0 | default value for conductivity |
|
virtual |
writes information to output object
Reimplemented from concepts::EddyGeometry2D.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::EddyGeometry2D.
Return the attributes of the inner boundaries.
Definition at line 44 of file Eddy2D_geometries.hh.
|
inlinevirtual |
piecewise defined formula
Implements concepts::EddyGeometry2D.
Definition at line 196 of file Eddy2D_geometries.hh.
|
inlinevirtual |
piecewise defined formula
Implements concepts::EddyGeometry2D.
Definition at line 192 of file Eddy2D_geometries.hh.
|
inlinevirtual |
piecewise defined formula
Implements concepts::EddyGeometry2D.
Definition at line 194 of file Eddy2D_geometries.hh.
|
inlineinherited |
Definition at line 55 of file Eddy2D_geometries.hh.
Definition at line 54 of file Eddy2D_geometries.hh.
Return the attributes of the outer boundary.
Definition at line 42 of file Eddy2D_geometries.hh.
|
inlineinherited |
Piecewise constant conductivity.
Definition at line 52 of file Eddy2D_geometries.hh.
|
inlineinherited |
Definition at line 53 of file Eddy2D_geometries.hh.
Definition at line 61 of file Eddy2D_geometries.hh.
|
protectedinherited |
Abbreviation for the mesh.
Definition at line 65 of file Eddy2D_geometries.hh.
Attributes of outer and inner boundaries.
Definition at line 61 of file Eddy2D_geometries.hh.
|
protectedinherited |
Piecewise constant conductivity.
Definition at line 63 of file Eddy2D_geometries.hh.