#include <AxisymmetricConductivityTensors.hpp>
Inherits AbstractConductivityTensors< SPACE_DIM >.
Public Member Functions | |
AxisymmetricConductivityTensors () | |
void | SetConstantConductivities (c_vector< double, 3 > constantConductivities) |
void | Init () throw (Exception) |
Private Member Functions | |
void | ReadOrientationVectorFromFile (c_vector< double, SPACE_DIM > &rOrientVector) |
The class is templated over SPACE_DIM to keep compatibility with the abstract class. However axisymmetric conductivity only makes sense in 3D, so we check in the constructor for SPACE_DIM to be 3.
Definition at line 39 of file AxisymmetricConductivityTensors.hpp.
AxisymmetricConductivityTensors< SPACE_DIM >::AxisymmetricConductivityTensors | ( | ) | [inline] |
Constructor
Definition at line 54 of file AxisymmetricConductivityTensors.cpp.
void AxisymmetricConductivityTensors< SPACE_DIM >::Init | ( | ) | throw (Exception) [inline, virtual] |
Set up the tensors.
See extensive comments within the implementation of this method.
Implements AbstractConductivityTensors< SPACE_DIM >.
Definition at line 76 of file AxisymmetricConductivityTensors.cpp.
References AbstractConductivityTensors< SPACE_DIM >::CloseFibreOrientationFile(), AbstractConductivityTensors< SPACE_DIM >::GetNumElementsFromFile(), AbstractConductivityTensors< SPACE_DIM >::mConstantConductivities, AbstractConductivityTensors< SPACE_DIM >::mInitialised, AbstractConductivityTensors< SPACE_DIM >::mNumElements, AbstractConductivityTensors< SPACE_DIM >::mpNonConstantConductivities, AbstractConductivityTensors< SPACE_DIM >::mTensors, AbstractConductivityTensors< SPACE_DIM >::mUseFibreOrientation, AbstractConductivityTensors< SPACE_DIM >::mUseNonConstantConductivities, AbstractConductivityTensors< SPACE_DIM >::OpenFibreOrientationFile(), and AxisymmetricConductivityTensors< SPACE_DIM >::ReadOrientationVectorFromFile().
void AxisymmetricConductivityTensors< SPACE_DIM >::ReadOrientationVectorFromFile | ( | c_vector< double, SPACE_DIM > & | rOrientVector | ) | [inline, private] |
Read from mDataFile with GetTokensAtNextLine
rOrientVector | vector into which to read the orientation |
Definition at line 35 of file AxisymmetricConductivityTensors.cpp.
References AbstractConductivityTensors< SPACE_DIM >::CloseFibreOrientationFile(), and AbstractConductivityTensors< SPACE_DIM >::GetTokensAtNextLine().
Referenced by AxisymmetricConductivityTensors< SPACE_DIM >::Init().
void AxisymmetricConductivityTensors< SPACE_DIM >::SetConstantConductivities | ( | c_vector< double, 3 > | constantConductivities | ) | [inline, virtual] |
Sets constant conductivities for all the elements of the mesh.
constantConductivities | Longitudinal, Transverse (y axis) and Normal conductivity (z axis) |
Reimplemented from AbstractConductivityTensors< SPACE_DIM >.
Definition at line 63 of file AxisymmetricConductivityTensors.cpp.
References AbstractConductivityTensors< SPACE_DIM >::mConstantConductivities, and AbstractConductivityTensors< SPACE_DIM >::mUseNonConstantConductivities.