TexGen
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TexGen::CElementTri Class Referenceabstract

Base class for representing triangular elements. More...

#include <Elements.h>

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

Public Member Functions

 CElementTri (const CMatrix &P, int iOrder)
 
double GetArea ()
 
void SetNodeCoordinates (const CMatrix &P)
 
void SetIntegrationOrder (int iOrder)
 
void GetKeMatrix (CMatrix &KeMatrix)
 
void SetFibreDirection (XYZ FibreDirection)
 
XYZ GetFibreDirection ()
 

Protected Member Functions

void GetIntegrationPoints (vector< INTEGRATION_POINT > &IntegrationPoints)
 Defines a series of integration points. More...
 
void GetBMatrix (CMatrix &BMatrix, CMatrix &Position)
 This is the dimension matrix which is composed of the A and X matrices (B=X*A^-1) More...
 
virtual void GetAMatrix (CMatrix &AMatrix)=0
 This is the coordinate matrix given nodal coordinates P. More...
 
virtual void GetXMatrix (CMatrix &XMatrix, CMatrix &Position)=0
 This is the matrix which defines strain in terms of the coefficients. More...
 
virtual void GetDMatrix (CMatrix &DMatrix)=0
 This is the material properties matrix (typically involving E and v) More...
 

Protected Attributes

CMatrix m_P
 
int m_iIntegrationOrder
 
XYZ m_FibreDirection
 

Detailed Description

Base class for representing triangular elements.

This class contains all the implementation which is common to triangular finite element elements. It contains methods for getting the area of the triangle and getting the integration point positions based on the integration order.

Definition at line 79 of file Elements.h.

Constructor & Destructor Documentation

◆ CElementTri()

CElementTri::CElementTri ( const CMatrix P,
int  iOrder 
)

Definition at line 146 of file Elements.cpp.

Member Function Documentation

◆ GetAMatrix()

virtual void TexGen::CElement::GetAMatrix ( CMatrix AMatrix)
protectedpure virtualinherited

This is the coordinate matrix given nodal coordinates P.

Implemented in TexGen::CElementTriBending, and TexGen::CElementTriTension.

Referenced by TexGen::CElement::GetBMatrix().

◆ GetArea()

double CElementTri::GetArea ( )

Definition at line 151 of file Elements.cpp.

References TexGen::CMatrix::GetDeterminant(), and TexGen::CElement::m_P.

◆ GetBMatrix()

void CElement::GetBMatrix ( CMatrix BMatrix,
CMatrix Position 
)
protectedinherited

This is the dimension matrix which is composed of the A and X matrices (B=X*A^-1)

Definition at line 60 of file Elements.cpp.

References TexGen::CMatrix::EqualsMultiple(), TexGen::CElement::GetAMatrix(), TexGen::CMatrix::GetInverse(), and TexGen::CElement::GetXMatrix().

Referenced by TexGen::CElement::GetKeMatrix().

◆ GetDMatrix()

virtual void TexGen::CElement::GetDMatrix ( CMatrix DMatrix)
protectedpure virtualinherited

This is the material properties matrix (typically involving E and v)

Implemented in TexGen::CElementTriBending, and TexGen::CElementTriTension.

Referenced by TexGen::CElement::GetKeMatrix().

◆ GetFibreDirection()

XYZ TexGen::CElement::GetFibreDirection ( )
inlineinherited

Definition at line 44 of file Elements.h.

◆ GetIntegrationPoints()

void CElementTri::GetIntegrationPoints ( vector< INTEGRATION_POINT > &  IntegrationPoints)
protectedvirtual

Defines a series of integration points.

The number of integration points depends on the element shape and integration order

Implements TexGen::CElement.

Definition at line 70 of file Elements.cpp.

References TexGen::CElement::INTEGRATION_POINT::dWeight, TexGen::CMatrix::Initialise(), TexGen::CElement::m_iIntegrationOrder, TexGen::CElement::m_P, and TexGen::CElement::INTEGRATION_POINT::Position.

◆ GetKeMatrix()

void CElement::GetKeMatrix ( CMatrix KeMatrix)
inherited

◆ GetXMatrix()

virtual void TexGen::CElement::GetXMatrix ( CMatrix XMatrix,
CMatrix Position 
)
protectedpure virtualinherited

This is the matrix which defines strain in terms of the coefficients.

Implemented in TexGen::CElementTriBending, and TexGen::CElementTriTension.

Referenced by TexGen::CElement::GetBMatrix().

◆ SetFibreDirection()

void TexGen::CElement::SetFibreDirection ( XYZ  FibreDirection)
inlineinherited

Definition at line 43 of file Elements.h.

Referenced by TexGen::CGeometrySolver::AssignFibreDirectionToElements().

◆ SetIntegrationOrder()

void CElement::SetIntegrationOrder ( int  iOrder)
inherited

Definition at line 36 of file Elements.cpp.

References TexGen::CElement::m_iIntegrationOrder.

◆ SetNodeCoordinates()

void CElement::SetNodeCoordinates ( const CMatrix P)
inherited

Definition at line 31 of file Elements.cpp.

References TexGen::CElement::m_P.

Referenced by TexGen::CGeometrySolver::CreatePlateElements().

Member Data Documentation

◆ m_FibreDirection

XYZ TexGen::CElement::m_FibreDirection
protectedinherited

◆ m_iIntegrationOrder

int TexGen::CElement::m_iIntegrationOrder
protectedinherited

Definition at line 69 of file Elements.h.

Referenced by GetIntegrationPoints(), and TexGen::CElement::SetIntegrationOrder().

◆ m_P

CMatrix TexGen::CElement::m_P
protectedinherited

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