TexGen
|
Fibre volume fraction is defined as a quadratic equation varying only along the X axis. More...
#include <FibreDistribution1DQuad.h>
Public Member Functions | |
CFibreDistribution1DQuad (double dDropOff) | |
CFibreDistribution1DQuad (TiXmlElement &Element) | |
~CFibreDistribution1DQuad () | |
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... | |
virtual double | GetVolumeFraction (double dArea, double dFibreArea, int YarnIndex=-1) const |
Get the volume fraction given an area. More... | |
Protected Member Functions | |
double | ComputeMaxX (const vector< XY > &Section) const |
double | Distribution (double max, double min, double x, double dMaxX) const |
double | IntegrateDistribution (const vector< XY > &Section, double dMaxX) const |
Protected Attributes | |
double | m_dDropOff |
Fibre volume fraction is defined as a quadratic equation varying only along the X axis.
Definition at line 25 of file FibreDistribution1DQuad.h.
CFibreDistribution1DQuad::CFibreDistribution1DQuad | ( | double | dDropOff | ) |
Definition at line 25 of file FibreDistribution1DQuad.cpp.
CFibreDistribution1DQuad::CFibreDistribution1DQuad | ( | TiXmlElement & | Element | ) |
Definition at line 30 of file FibreDistribution1DQuad.cpp.
References m_dDropOff.
|
inline |
Definition at line 30 of file FibreDistribution1DQuad.h.
|
protected |
Definition at line 42 of file FibreDistribution1DQuad.cpp.
Referenced by GetVolumeFraction().
|
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 FibreDistribution1DQuad.h.
|
protected |
Definition at line 89 of file FibreDistribution1DQuad.cpp.
Referenced by GetVolumeFraction(), and IntegrateDistribution().
|
inlinevirtual |
Derived class should return the class name.
Implements TexGen::CFibreDistribution.
Definition at line 33 of file FibreDistribution1DQuad.h.
|
virtual |
Get the volume fraction for a given location.
Implements TexGen::CFibreDistribution.
Definition at line 68 of file FibreDistribution1DQuad.cpp.
References ComputeMaxX(), Distribution(), IntegrateDistribution(), m_dDropOff, TGERROR, and TexGen::XY::x.
|
virtualinherited |
Get the volume fraction given an area.
Reimplemented in TexGen::CFibreDistributionConst.
Definition at line 42 of file FibreDistribution.cpp.
|
protected |
Definition at line 52 of file FibreDistribution1DQuad.cpp.
References Distribution(), and m_dDropOff.
Referenced by GetVolumeFraction().
|
virtual |
Used for saving data to XML.
Reimplemented from TexGen::CFibreDistribution.
Definition at line 36 of file FibreDistribution1DQuad.cpp.
References m_dDropOff, and TexGen::CFibreDistribution::PopulateTiXmlElement().
|
protected |
Definition at line 43 of file FibreDistribution1DQuad.h.
Referenced by CFibreDistribution1DQuad(), GetVolumeFraction(), IntegrateDistribution(), and PopulateTiXmlElement().