TexGen
Public Member Functions | Protected Member Functions | List of all members
TexGen::CFibreDistributionConst Class Reference

Fibre volume fraction is constant throughout the yarn. More...

#include <FibreDistributionConst.h>

Inheritance diagram for TexGen::CFibreDistributionConst:
Inheritance graph
[legend]

Public Member Functions

 CFibreDistributionConst ()
 
 CFibreDistributionConst (TiXmlElement &Element)
 
 ~CFibreDistributionConst ()
 
CFibreDistributionCopy () 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
 

Detailed Description

Fibre volume fraction is constant throughout the yarn.

Definition at line 25 of file FibreDistributionConst.h.

Constructor & Destructor Documentation

◆ CFibreDistributionConst() [1/2]

CFibreDistributionConst::CFibreDistributionConst ( )

Definition at line 26 of file FibreDistributionConst.cpp.

◆ CFibreDistributionConst() [2/2]

CFibreDistributionConst::CFibreDistributionConst ( TiXmlElement &  Element)

Definition at line 30 of file FibreDistributionConst.cpp.

◆ ~CFibreDistributionConst()

TexGen::CFibreDistributionConst::~CFibreDistributionConst ( )
inline

Definition at line 30 of file FibreDistributionConst.h.

Member Function Documentation

◆ Copy()

CFibreDistribution * TexGen::CFibreDistributionConst::Copy ( ) const
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.

◆ GetType()

string TexGen::CFibreDistributionConst::GetType ( ) const
inlinevirtual

Derived class should return the class name.

Implements TexGen::CFibreDistribution.

Definition at line 33 of file FibreDistributionConst.h.

◆ GetVolumeFraction() [1/2]

double CFibreDistributionConst::GetVolumeFraction ( const vector< XY > &  Section,
double  dFibreArea,
XY  Location,
int  YarnIndex = -1 
) const
virtual

Get the volume fraction for a given location.

Implements TexGen::CFibreDistribution.

Definition at line 45 of file FibreDistributionConst.cpp.

References IntegrateDistribution(), and TGERROR.

◆ GetVolumeFraction() [2/2]

double CFibreDistributionConst::GetVolumeFraction ( double  dArea,
double  dFibreArea,
int  YarnIndex = -1 
) const
virtual

Get the volume fraction given an area.

Reimplemented from TexGen::CFibreDistribution.

Definition at line 63 of file FibreDistributionConst.cpp.

References TGERROR.

◆ IntegrateDistribution()

double CFibreDistributionConst::IntegrateDistribution ( const vector< XY > &  Section) const
protected

Definition at line 40 of file FibreDistributionConst.cpp.

References TexGen::CSection::GetArea().

Referenced by GetVolumeFraction().

◆ PopulateTiXmlElement()

void CFibreDistributionConst::PopulateTiXmlElement ( TiXmlElement &  Element,
OUTPUT_TYPE  OutputType 
) const
virtual

Used for saving data to XML.

Reimplemented from TexGen::CFibreDistribution.

Definition at line 35 of file FibreDistributionConst.cpp.

References TexGen::CFibreDistribution::PopulateTiXmlElement().


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