TexGen
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
TexGen::CRotatedPeriodicBoundaries Class Reference

Class used to generate Abaqus input file for periodic boundary conditions for a textile with rotated domain. More...

#include <RotatedPeriodicBoundaries.h>

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

Public Member Functions

 CRotatedPeriodicBoundaries (void)
 
 ~CRotatedPeriodicBoundaries (void)
 
void SetDomainSize (const CMesh &Mesh)
 Set up the domain size parameters used in the equations. More...
 
void CreatePeriodicBoundaries (ostream &Output, int iDummyNodeNum, CTextile &Textile, int iBoundarConditions, bool bMatrixOnly)
 
void SetFaceA (vector< int > &A1, vector< int > &A2)
 
void SetFaceB (vector< int > &B1, vector< int > &B2)
 
void SetFaceC (vector< int > &C1, vector< int > &C2)
 
virtual void SetFaceD (vector< int > &D1, vector< int > &D2)
 
void SetEdges (vector< int > &Edge)
 
void SetVertex (int Vertex)
 
virtual void SetOffset (double Offset)
 
void OutputDummyNodeSets (string Filename, int iDummyNodeNum)
 Output 6 dummy nodes: x = 0, y = 1, z = 2, xy = 3, xz = 4, yz = 5. More...
 
void OutputStep (string Filename, int iBoundaryConditions)
 Output a step including field outputs. More...
 

Protected Member Functions

void OutputDummyNodeSets (ostream &Output, int iDummyNodeNum)
 Output 6 dummy nodes: x = 0, y = 1, z = 2, xy = 3, xz = 4, yz = 5. More...
 
void OutputStep (ostream &Output, int iBoundaryConditions)
 Output a step including field outputs. More...
 
void OutputSets (ostream &Output, vector< int > &Set, string SetName)
 Output an unsorted node set. More...
 
virtual void OutputFaceSets (ostream &Output)
 Output 6 face node sets. More...
 
void OutputEdgeSets (ostream &Output)
 Output 12 edge node sets. More...
 
void OutputVertexSets (ostream &Output)
 Output 8 corner node sets. More...
 
void OutputLoadCase (ostream &Output, int iCase)
 Output 6 load cases. More...
 

Protected Attributes

pair< vector< int >, vector< int > > m_FaceA
 Pairs of node sets for opposite faces. More...
 
pair< vector< int >, vector< int > > m_FaceB
 
pair< vector< int >, vector< int > > m_FaceC
 
vector< vector< int > > m_Edges
 Array of vectors containing nodes for edge sets. More...
 
int m_NumEdges
 
vector< int > m_Vertices
 Array of corner nodes. More...
 
int m_NumVertices
 
XYZ m_DomSize
 

Private Member Functions

void OutputEquations (ostream &Output, int iBoundaryConditions)
 Output equations for rotated domain boundary conditions. More...
 

Private Attributes

XYZ m_DispVec [3]
 Displacement vectors for the three axes. More...
 

Detailed Description

Class used to generate Abaqus input file for periodic boundary conditions for a textile with rotated domain.

Definition at line 27 of file RotatedPeriodicBoundaries.h.

Constructor & Destructor Documentation

◆ CRotatedPeriodicBoundaries()

CRotatedPeriodicBoundaries::CRotatedPeriodicBoundaries ( void  )

Definition at line 28 of file RotatedPeriodicBoundaries.cpp.

◆ ~CRotatedPeriodicBoundaries()

CRotatedPeriodicBoundaries::~CRotatedPeriodicBoundaries ( void  )

Definition at line 32 of file RotatedPeriodicBoundaries.cpp.

Member Function Documentation

◆ CreatePeriodicBoundaries()

void CPeriodicBoundaries::CreatePeriodicBoundaries ( ostream &  Output,
int  iDummyNodeNum,
CTextile Textile,
int  iBoundarConditions,
bool  bMatrixOnly 
)
inherited

◆ OutputDummyNodeSets() [1/2]

void CPeriodicBoundaries::OutputDummyNodeSets ( ostream &  Output,
int  iDummyNodeNum 
)
protectedinherited

Output 6 dummy nodes: x = 0, y = 1, z = 2, xy = 3, xz = 4, yz = 5.

Definition at line 99 of file PeriodicBoundaries.cpp.

◆ OutputDummyNodeSets() [2/2]

void CPeriodicBoundaries::OutputDummyNodeSets ( string  Filename,
int  iDummyNodeNum 
)
inherited

◆ OutputEdgeSets()

void CPeriodicBoundaries::OutputEdgeSets ( ostream &  Output)
protectedinherited

◆ OutputEquations()

void CRotatedPeriodicBoundaries::OutputEquations ( ostream &  Output,
int  iBoundaryConditions 
)
privatevirtual

Output equations for rotated domain boundary conditions.

Reimplemented from TexGen::CPeriodicBoundaries.

Definition at line 54 of file RotatedPeriodicBoundaries.cpp.

References m_DispVec, TexGen::XYZ::x, TexGen::XYZ::y, and TexGen::XYZ::z.

◆ OutputFaceSets()

void CPeriodicBoundaries::OutputFaceSets ( ostream &  Output)
protectedvirtualinherited

◆ OutputLoadCase()

void CPeriodicBoundaries::OutputLoadCase ( std::ostream &  Output,
int  iCase 
)
protectedinherited

◆ OutputSets()

void CPeriodicBoundaries::OutputSets ( ostream &  Output,
vector< int > &  Set,
string  SetName 
)
protectedinherited

◆ OutputStep() [1/2]

void CPeriodicBoundaries::OutputStep ( ostream &  Output,
int  iBoundaryConditions 
)
protectedinherited

◆ OutputStep() [2/2]

void CPeriodicBoundaries::OutputStep ( string  Filename,
int  iBoundaryConditions 
)
inherited

◆ OutputVertexSets()

void CPeriodicBoundaries::OutputVertexSets ( ostream &  Output)
protectedinherited

◆ SetDomainSize()

void CRotatedPeriodicBoundaries::SetDomainSize ( const CMesh Mesh)
virtual

Set up the domain size parameters used in the equations.

Reimplemented from TexGen::CPeriodicBoundaries.

Definition at line 36 of file RotatedPeriodicBoundaries.cpp.

References TexGen::GetLength(), TexGen::CMesh::GetNode(), m_DispVec, TexGen::CPeriodicBoundaries::m_DomSize, TexGen::XYZ::x, TexGen::XYZ::y, and TexGen::XYZ::z.

◆ SetEdges()

void CPeriodicBoundaries::SetEdges ( vector< int > &  Edge)
inherited

◆ SetFaceA()

void CPeriodicBoundaries::SetFaceA ( vector< int > &  A1,
vector< int > &  A2 
)
inherited

◆ SetFaceB()

void CPeriodicBoundaries::SetFaceB ( vector< int > &  B1,
vector< int > &  B2 
)
inherited

◆ SetFaceC()

void CPeriodicBoundaries::SetFaceC ( vector< int > &  C1,
vector< int > &  C2 
)
inherited

◆ SetFaceD()

virtual void TexGen::CPeriodicBoundaries::SetFaceD ( vector< int > &  D1,
vector< int > &  D2 
)
inlinevirtualinherited

◆ SetOffset()

virtual void TexGen::CPeriodicBoundaries::SetOffset ( double  Offset)
inlinevirtualinherited

Reimplemented in TexGen::CStaggeredPeriodicBoundaries.

Definition at line 45 of file PeriodicBoundaries.h.

Referenced by TexGen::CStaggeredVoxelMesh::SetOffset().

◆ SetVertex()

void CPeriodicBoundaries::SetVertex ( int  Vertex)
inherited

Member Data Documentation

◆ m_DispVec

XYZ TexGen::CRotatedPeriodicBoundaries::m_DispVec[3]
private

Displacement vectors for the three axes.

Definition at line 40 of file RotatedPeriodicBoundaries.h.

Referenced by OutputEquations(), and SetDomainSize().

◆ m_DomSize

XYZ TexGen::CPeriodicBoundaries::m_DomSize
protectedinherited

◆ m_Edges

vector< vector<int> > TexGen::CPeriodicBoundaries::m_Edges
protectedinherited

Array of vectors containing nodes for edge sets.

Definition at line 61 of file PeriodicBoundaries.h.

Referenced by TexGen::CPeriodicBoundaries::OutputEdgeSets(), and TexGen::CPeriodicBoundaries::SetEdges().

◆ m_FaceA

pair< vector<int>, vector<int> > TexGen::CPeriodicBoundaries::m_FaceA
protectedinherited

Pairs of node sets for opposite faces.

Definition at line 56 of file PeriodicBoundaries.h.

Referenced by TexGen::CPeriodicBoundaries::OutputFaceSets(), and TexGen::CPeriodicBoundaries::SetFaceA().

◆ m_FaceB

pair< vector<int>, vector<int> > TexGen::CPeriodicBoundaries::m_FaceB
protectedinherited

◆ m_FaceC

pair< vector<int>, vector<int> > TexGen::CPeriodicBoundaries::m_FaceC
protectedinherited

◆ m_NumEdges

int TexGen::CPeriodicBoundaries::m_NumEdges
protectedinherited

Definition at line 62 of file PeriodicBoundaries.h.

Referenced by TexGen::CPeriodicBoundaries::OutputEdgeSets().

◆ m_NumVertices

int TexGen::CPeriodicBoundaries::m_NumVertices
protectedinherited

Definition at line 66 of file PeriodicBoundaries.h.

Referenced by TexGen::CPeriodicBoundaries::OutputVertexSets().

◆ m_Vertices

vector<int> TexGen::CPeriodicBoundaries::m_Vertices
protectedinherited

Array of corner nodes.

Definition at line 65 of file PeriodicBoundaries.h.

Referenced by TexGen::CPeriodicBoundaries::OutputVertexSets(), and TexGen::CPeriodicBoundaries::SetVertex().


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