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

Class used to generate Abaqus output for periodic boundary conditions. More...

#include <PeriodicBoundaries.h>

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

Public Member Functions

 CPeriodicBoundaries (int NumEdges=12, int NumVertices=8)
 
 ~CPeriodicBoundaries (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

virtual void OutputEquations (ostream &Output, int iBoundarConditions)
 Output equations for boundary conditions. More...
 
void OutputSets (ostream &Output, vector< int > &Set, string SetName)
 Output an unsorted node set. More...
 
void OutputDummyNodeSets (ostream &Output, int iDummyNodeNum)
 Output 6 dummy nodes: x = 0, y = 1, z = 2, xy = 3, xz = 4, yz = 5. 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 OutputStep (ostream &Output, int iBoundaryConditions)
 Output a step including field outputs. 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
 

Detailed Description

Class used to generate Abaqus output for periodic boundary conditions.

Definition at line 29 of file PeriodicBoundaries.h.

Constructor & Destructor Documentation

◆ CPeriodicBoundaries()

CPeriodicBoundaries::CPeriodicBoundaries ( int  NumEdges = 12,
int  NumVertices = 8 
)

Definition at line 32 of file PeriodicBoundaries.cpp.

◆ ~CPeriodicBoundaries()

CPeriodicBoundaries::~CPeriodicBoundaries ( void  )

Definition at line 38 of file PeriodicBoundaries.cpp.

Member Function Documentation

◆ CreatePeriodicBoundaries()

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

◆ OutputDummyNodeSets() [1/2]

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

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 
)

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

Definition at line 118 of file PeriodicBoundaries.cpp.

References TexGen::AddExtensionIfMissing(), and OutputDummyNodeSets().

Referenced by CreatePeriodicBoundaries(), and OutputDummyNodeSets().

◆ OutputEdgeSets()

void CPeriodicBoundaries::OutputEdgeSets ( ostream &  Output)
protected

Output 12 edge node sets.

Definition at line 136 of file PeriodicBoundaries.cpp.

References m_Edges, m_NumEdges, OutputSets(), and TexGen::stringify().

Referenced by CreatePeriodicBoundaries().

◆ OutputEquations()

void CPeriodicBoundaries::OutputEquations ( ostream &  Output,
int  iBoundarConditions 
)
protectedvirtual

◆ OutputFaceSets()

void CPeriodicBoundaries::OutputFaceSets ( ostream &  Output)
protectedvirtual

Output 6 face node sets.

Reimplemented in TexGen::CStaggeredPeriodicBoundaries.

Definition at line 126 of file PeriodicBoundaries.cpp.

References m_FaceA, m_FaceB, m_FaceC, and OutputSets().

Referenced by CreatePeriodicBoundaries(), and TexGen::CStaggeredPeriodicBoundaries::OutputFaceSets().

◆ OutputLoadCase()

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

Output 6 load cases.

Definition at line 548 of file PeriodicBoundaries.cpp.

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

Referenced by OutputStep().

◆ OutputSets()

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

◆ OutputStep() [1/2]

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

◆ OutputStep() [2/2]

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

Output a step including field outputs.

Definition at line 540 of file PeriodicBoundaries.cpp.

References TexGen::AddExtensionIfMissing(), and OutputStep().

Referenced by CreatePeriodicBoundaries(), and OutputStep().

◆ OutputVertexSets()

void CPeriodicBoundaries::OutputVertexSets ( ostream &  Output)
protected

Output 8 corner node sets.

Definition at line 144 of file PeriodicBoundaries.cpp.

References m_NumVertices, m_Vertices, OutputSets(), and TexGen::stringify().

Referenced by CreatePeriodicBoundaries().

◆ SetDomainSize()

void CPeriodicBoundaries::SetDomainSize ( const CMesh Mesh)
virtual

◆ SetEdges()

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

◆ SetFaceA()

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

◆ SetFaceB()

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

◆ SetFaceC()

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

◆ SetFaceD()

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

◆ SetOffset()

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

Reimplemented in TexGen::CStaggeredPeriodicBoundaries.

Definition at line 45 of file PeriodicBoundaries.h.

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

◆ SetVertex()

void CPeriodicBoundaries::SetVertex ( int  Vertex)

Member Data Documentation

◆ m_DomSize

XYZ TexGen::CPeriodicBoundaries::m_DomSize
protected

◆ m_Edges

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

Array of vectors containing nodes for edge sets.

Definition at line 61 of file PeriodicBoundaries.h.

Referenced by OutputEdgeSets(), and SetEdges().

◆ m_FaceA

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

Pairs of node sets for opposite faces.

Definition at line 56 of file PeriodicBoundaries.h.

Referenced by OutputFaceSets(), and SetFaceA().

◆ m_FaceB

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

Definition at line 57 of file PeriodicBoundaries.h.

Referenced by OutputFaceSets(), and SetFaceB().

◆ m_FaceC

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

Definition at line 58 of file PeriodicBoundaries.h.

Referenced by OutputFaceSets(), and SetFaceC().

◆ m_NumEdges

int TexGen::CPeriodicBoundaries::m_NumEdges
protected

Definition at line 62 of file PeriodicBoundaries.h.

Referenced by OutputEdgeSets().

◆ m_NumVertices

int TexGen::CPeriodicBoundaries::m_NumVertices
protected

Definition at line 66 of file PeriodicBoundaries.h.

Referenced by OutputVertexSets().

◆ m_Vertices

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

Array of corner nodes.

Definition at line 65 of file PeriodicBoundaries.h.

Referenced by OutputVertexSets(), and SetVertex().


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