TexGen
Public Member Functions | List of all members
TexGen::CFibreDistribution Class Referenceabstract

Abstract base class that defines how the fibres are distributed within a yarn. More...

#include <FibreDistribution.h>

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

Public Member Functions

 CFibreDistribution ()
 
 CFibreDistribution (TiXmlElement &Element)
 
virtual ~CFibreDistribution (void)
 
virtual CFibreDistributionCopy () 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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ CFibreDistribution() [1/2]

CFibreDistribution::CFibreDistribution ( )

Definition at line 25 of file FibreDistribution.cpp.

◆ CFibreDistribution() [2/2]

CFibreDistribution::CFibreDistribution ( TiXmlElement &  Element)

Definition at line 33 of file FibreDistribution.cpp.

◆ ~CFibreDistribution()

CFibreDistribution::~CFibreDistribution ( void  )
virtual

Definition at line 29 of file FibreDistribution.cpp.

Member Function Documentation

◆ Copy()

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

◆ GetType()

virtual string TexGen::CFibreDistribution::GetType ( ) const
pure virtual

Derived class should return the class name.

Implemented in TexGen::CFibreDistribution1DQuad, and TexGen::CFibreDistributionConst.

Referenced by PopulateTiXmlElement().

◆ GetVolumeFraction() [1/2]

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

Get the volume fraction for a given location.

Implemented in TexGen::CFibreDistribution1DQuad, and TexGen::CFibreDistributionConst.

Referenced by TexGen::CSimulationAbaqus::GetSectionVolumeFraction().

◆ GetVolumeFraction() [2/2]

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

Get the volume fraction given an area.

Reimplemented in TexGen::CFibreDistributionConst.

Definition at line 42 of file FibreDistribution.cpp.

◆ PopulateTiXmlElement()

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

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