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

Class used to generate Abaqus input file for periodic boundary conditions for a unit cell in tension and bending. More...

#include <BendingPeriodicBoundaries.h>

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

Public Member Functions

 CBendingPeriodicBoundaries (void)
 
 ~CBendingPeriodicBoundaries (void)
 
void CreatePeriodicBoundaries (ostream &Output, int iDummyNodeNum, CTextile &Textile, int iBoundarConditions, bool bMatrixOnly)
 
virtual void SetDomainSize (const CMesh &Mesh)
 
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 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)
 Set up the domain size parameters used in the equations. More...
 
void OutputStep (ostream &Output, int iBoundaryConditions)
 

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 unit cell in tension and bending.

Definition at line 27 of file BendingPeriodicBoundaries.h.

Constructor & Destructor Documentation

◆ CBendingPeriodicBoundaries()

CBendingPeriodicBoundaries::CBendingPeriodicBoundaries ( void  )

Definition at line 28 of file BendingPeriodicBoundaries.cpp.

◆ ~CBendingPeriodicBoundaries()

CBendingPeriodicBoundaries::~CBendingPeriodicBoundaries ( void  )

Definition at line 32 of file BendingPeriodicBoundaries.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 CBendingPeriodicBoundaries::OutputEquations ( ostream &  Output,
int  iBoundaryConditions 
)
privatevirtual

Set up the domain size parameters used in the equations.

Output equations for bending boundary conditions

Reimplemented from TexGen::CPeriodicBoundaries.

Definition at line 36 of file BendingPeriodicBoundaries.cpp.

References TexGen::CPeriodicBoundaries::m_DomSize, TexGen::XYZ::x, and TexGen::XYZ::y.

◆ 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 CBendingPeriodicBoundaries::OutputStep ( ostream &  Output,
int  iBoundaryConditions 
)
private

Definition at line 204 of file BendingPeriodicBoundaries.cpp.

◆ OutputStep() [2/2]

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

◆ OutputVertexSets()

void CPeriodicBoundaries::OutputVertexSets ( ostream &  Output)
protectedinherited

◆ SetDomainSize()

void CPeriodicBoundaries::SetDomainSize ( const CMesh Mesh)
virtualinherited

◆ 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::CBendingPeriodicBoundaries::m_DispVec[3]
private

Displacement vectors for the three axes.

Definition at line 41 of file BendingPeriodicBoundaries.h.

◆ 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: