TexGen
|
Abstract base class that defines how the fibres are distributed within a yarn. More...
#include <FibreDistribution.h>
Public Member Functions | |
CFibreDistribution () | |
CFibreDistribution (TiXmlElement &Element) | |
virtual | ~CFibreDistribution (void) |
virtual CFibreDistribution * | Copy () const =0 |
Create a copy of the derived fibre distribution and return a pointer to the newly created instance. More... | |
virtual string | GetType () const =0 |
Derived class should return the class name. More... | |
virtual void | PopulateTiXmlElement (TiXmlElement &Element, OUTPUT_TYPE OutputType) const |
Used for saving data to XML. More... | |
virtual double | GetVolumeFraction (const vector< XY > &Section, double dFibreArea, XY Location, int YarnIndex=-1) const =0 |
Get the volume fraction for a given location. More... | |
virtual double | GetVolumeFraction (double dArea, double dFibreArea, int YarnIndex=-1) const |
Get the volume fraction given an area. More... | |
Abstract base class that defines how the fibres are distributed within a yarn.
This class is there to provide local volume fraction information for a yarn cross section, from this different Vf distributions can be derived
Definition at line 30 of file FibreDistribution.h.
CFibreDistribution::CFibreDistribution | ( | ) |
Definition at line 25 of file FibreDistribution.cpp.
CFibreDistribution::CFibreDistribution | ( | TiXmlElement & | Element | ) |
Definition at line 33 of file FibreDistribution.cpp.
|
virtual |
Definition at line 29 of file FibreDistribution.cpp.
|
pure virtual |
Create a copy of the derived fibre distribution and return a pointer to the newly created instance.
Implemented in TexGen::CFibreDistribution1DQuad, and TexGen::CFibreDistributionConst.
|
pure virtual |
Derived class should return the class name.
Implemented in TexGen::CFibreDistribution1DQuad, and TexGen::CFibreDistributionConst.
Referenced by PopulateTiXmlElement().
|
pure virtual |
Get the volume fraction for a given location.
Implemented in TexGen::CFibreDistribution1DQuad, and TexGen::CFibreDistributionConst.
Referenced by TexGen::CSimulationAbaqus::GetSectionVolumeFraction().
|
virtual |
Get the volume fraction given an area.
Reimplemented in TexGen::CFibreDistributionConst.
Definition at line 42 of file FibreDistribution.cpp.
|
virtual |
Used for saving data to XML.
Reimplemented in TexGen::CFibreDistribution1DQuad, and TexGen::CFibreDistributionConst.
Definition at line 37 of file FibreDistribution.cpp.
References GetType().
Referenced by TexGen::CFibreDistribution1DQuad::PopulateTiXmlElement(), and TexGen::CFibreDistributionConst::PopulateTiXmlElement().