TexGen
|
Fibre volume fraction is constant throughout the yarn. More...
#include <FibreDistributionConst.h>
Public Member Functions | |
CFibreDistributionConst () | |
CFibreDistributionConst (TiXmlElement &Element) | |
~CFibreDistributionConst () | |
CFibreDistribution * | Copy () const |
Create a copy of the derived fibre distribution and return a pointer to the newly created instance. More... | |
string | GetType () const |
Derived class should return the class name. More... | |
void | PopulateTiXmlElement (TiXmlElement &Element, OUTPUT_TYPE OutputType) const |
Used for saving data to XML. More... | |
double | GetVolumeFraction (const vector< XY > &Section, double dFibreArea, XY Location, int YarnIndex=-1) const |
Get the volume fraction for a given location. More... | |
double | GetVolumeFraction (double dArea, double dFibreArea, int YarnIndex=-1) const |
Get the volume fraction given an area. More... | |
Protected Member Functions | |
double | IntegrateDistribution (const vector< XY > &Section) const |
Fibre volume fraction is constant throughout the yarn.
Definition at line 25 of file FibreDistributionConst.h.
CFibreDistributionConst::CFibreDistributionConst | ( | ) |
Definition at line 26 of file FibreDistributionConst.cpp.
CFibreDistributionConst::CFibreDistributionConst | ( | TiXmlElement & | Element | ) |
Definition at line 30 of file FibreDistributionConst.cpp.
|
inline |
Definition at line 30 of file FibreDistributionConst.h.
|
inlinevirtual |
Create a copy of the derived fibre distribution and return a pointer to the newly created instance.
Implements TexGen::CFibreDistribution.
Definition at line 32 of file FibreDistributionConst.h.
|
inlinevirtual |
Derived class should return the class name.
Implements TexGen::CFibreDistribution.
Definition at line 33 of file FibreDistributionConst.h.
|
virtual |
Get the volume fraction for a given location.
Implements TexGen::CFibreDistribution.
Definition at line 45 of file FibreDistributionConst.cpp.
References IntegrateDistribution(), and TGERROR.
|
virtual |
Get the volume fraction given an area.
Reimplemented from TexGen::CFibreDistribution.
Definition at line 63 of file FibreDistributionConst.cpp.
References TGERROR.
|
protected |
Definition at line 40 of file FibreDistributionConst.cpp.
References TexGen::CSection::GetArea().
Referenced by GetVolumeFraction().
|
virtual |
Used for saving data to XML.
Reimplemented from TexGen::CFibreDistribution.
Definition at line 35 of file FibreDistributionConst.cpp.
References TexGen::CFibreDistribution::PopulateTiXmlElement().