Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::EddyGeometry2DRectImport Class Reference

#include <Eddy2D_geometries.hh>

Inheritance diagram for concepts::EddyGeometry2DRectImport:
concepts::EddyGeometry2D concepts::OutputOperator

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 Mesh2mesh ()
 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< uintouterBoundary () const
 Return the attributes of the outer boundary.
 
Set< uintinnerBoundary () 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< uintouterBoundary_
 Attributes of outer and inner boundaries.
 
Set< uintinnerBoundary_
 
PiecewiseConstFormula< Realsigma_
 Piecewise constant conductivity.
 
std::string meshAbbr_
 Abbreviation for the mesh.
 

Detailed Description

Rectangular geometry, source current

Author
Kersten Schmidt, 2005

Definition at line 140 of file Eddy2D_geometries.hh.

Constructor & Destructor Documentation

◆ EddyGeometry2DRectImport() [1/2]

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)

Parameters
coordFile with coordinates of vertices.
elmsFile with node numbers of quads.
attributesFile with node numbers of edges and cells with attributes for boundary condition and material.
idxStartStarting point of indices in the files (1 or 0)
meshAbbrabbreviation for the mesh
j0current density in A/m^2
sigmaconductivity in 1/Ohm/m
sigma0default value for conductivity
See also
Import2dMesh

◆ EddyGeometry2DRectImport() [2/2]

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.

Parameters
pathPath, where the input files are
meshAbbrabbreviation for the mesh
j0current density in A/m^2
sigmaconductivity in 1/Ohm/m
sigma0default value for conductivity
See also
Import2dMesh

Member Function Documentation

◆ dataout()

virtual void concepts::EddyGeometry2DRectImport::dataout ( concepts::InOutParameters output)
virtual

writes information to output object

Reimplemented from concepts::EddyGeometry2D.

◆ info()

virtual std::ostream & concepts::EddyGeometry2DRectImport::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::EddyGeometry2D.

◆ innerBoundary()

Set< uint > concepts::EddyGeometry2D::innerBoundary ( ) const
inlineinherited

Return the attributes of the inner boundaries.

Definition at line 44 of file Eddy2D_geometries.hh.

◆ J0()

virtual const PiecewiseFormulaBase< Real2d > * concepts::EddyGeometry2DRectImport::J0 ( ) const
inlinevirtual

piecewise defined formula

\[(j^0_x, j^0_y)^\top\]

Implements concepts::EddyGeometry2D.

Definition at line 196 of file Eddy2D_geometries.hh.

◆ J0x()

virtual const PiecewiseFormulaBase< Real > * concepts::EddyGeometry2DRectImport::J0x ( ) const
inlinevirtual

piecewise defined formula

\[j^0_x\]

Implements concepts::EddyGeometry2D.

Definition at line 192 of file Eddy2D_geometries.hh.

◆ J0y()

virtual const PiecewiseFormulaBase< Real > * concepts::EddyGeometry2DRectImport::J0y ( ) const
inlinevirtual

piecewise defined formula

\[j^0_y\]

Implements concepts::EddyGeometry2D.

Definition at line 194 of file Eddy2D_geometries.hh.

◆ mesh()

virtual Mesh2 & concepts::EddyGeometry2DRectImport::mesh ( )
inlinevirtual

Mesh.

Implements concepts::EddyGeometry2D.

Definition at line 190 of file Eddy2D_geometries.hh.

◆ meshAbbreviation() [1/2]

const std::string concepts::EddyGeometry2D::meshAbbreviation ( ) const
inlineinherited

Definition at line 55 of file Eddy2D_geometries.hh.

◆ meshAbbreviation() [2/2]

void concepts::EddyGeometry2D::meshAbbreviation ( const char meshAbbr)
inlineinherited

Definition at line 54 of file Eddy2D_geometries.hh.

◆ outerBoundary()

Set< uint > concepts::EddyGeometry2D::outerBoundary ( ) const
inlineinherited

Return the attributes of the outer boundary.

Definition at line 42 of file Eddy2D_geometries.hh.

◆ sigma() [1/2]

PiecewiseConstFormula< Real > & concepts::EddyGeometry2D::sigma ( )
inlineinherited

Piecewise constant conductivity.

Definition at line 52 of file Eddy2D_geometries.hh.

◆ sigma() [2/2]

const PiecewiseConstFormula< Real > & concepts::EddyGeometry2D::sigma ( ) const
inlineinherited

Definition at line 53 of file Eddy2D_geometries.hh.

Member Data Documentation

◆ innerBoundary_

Set<uint> concepts::EddyGeometry2D::innerBoundary_
protectedinherited

Definition at line 61 of file Eddy2D_geometries.hh.

◆ meshAbbr_

std::string concepts::EddyGeometry2D::meshAbbr_
protectedinherited

Abbreviation for the mesh.

Definition at line 65 of file Eddy2D_geometries.hh.

◆ outerBoundary_

Set<uint> concepts::EddyGeometry2D::outerBoundary_
protectedinherited

Attributes of outer and inner boundaries.

Definition at line 61 of file Eddy2D_geometries.hh.

◆ sigma_

PiecewiseConstFormula<Real> concepts::EddyGeometry2D::sigma_
protectedinherited

Piecewise constant conductivity.

Definition at line 63 of file Eddy2D_geometries.hh.


The documentation for this class was generated from the following file: