30 class CPeriodicBoundaries;
37 CVoxelMesh(
string Type =
"CPeriodicBoundaries");
51 virtual void SaveVoxelMesh(
CTextile &Textile,
string OutputFilename,
int XVoxNum,
int YVoxNum,
int ZVoxNum,
bool bOutputMatrix,
bool bOutputYarns,
int iBoundaryConditions,
int iElementType = 0,
int FileType =
INP_EXPORT);
53 void AddElementInfo(vector<POINT_INFO> &RowInfo);
55 void OutputOrientationsAndElementSets(
string Filename );
76 void SaveVoxelMeshToVTK(
string Filename,
CTextile &Textile);
79 void SaveToAbaqus(
string Filename,
CTextile &Textile,
bool bOutputMatrix,
bool bOutputYarn,
int iBoundaryConditions,
int iElementType );
81 void SaveToSCIRun(
string Filename,
CTextile &Textile );
89 virtual int OutputHexElements(ostream &Output,
bool bOutputMatrix,
bool bOutputYarn,
int Filetype =
INP_EXPORT );
93 void OutputOrientationsAndElementSets(
string Filename, ostream &Output );
95 void OutputMatrixElementSet(
string Filename, ostream &Output,
int iNumHexElements,
bool bMatrixOnly );
97 void OutputAllNodesSet(
string Filename, ostream &Output );
99 virtual void OutputPeriodicBoundaries(ostream &Output,
CTextile& Textile,
int iBoundaryConditions,
bool bMatrixOnly);
Defines the nodes and elements of a surface or volume mesh.
Class used to generate Abaqus output for periodic boundary conditions.
Represents a textile cell containing yarns.
Class used to generate voxel mesh for output to ABAQUS.
CVoxelMesh(const CVoxelMesh &CopyMe)
pair< XYZ, XYZ > m_DomainAABB
Domain limits.
int m_XVoxels
Number of voxels along x,y and z axes.
virtual void OutputNodes(ostream &Output, CTextile &Textile, int Filetype=INP_EXPORT)=0
Outputs nodes to .inp file and gets element information.
CTextileMaterials m_Materials
virtual bool CalculateVoxelSizes(CTextile &Textile)=0
Calculate voxel size based on number of voxels on each axis and domain size.
CPeriodicBoundaries * m_PeriodicBoundaries
vector< POINT_INFO > m_ElementsInfo
Element information as calculated by GetPointInformation.
CVoxelMesh & operator=(const CVoxelMesh &CopyMe)
CMesh m_Mesh
Find intersections of yarn surfaces with grid of lines from node points in each axis.
CTextileMaterials & GetMaterials()
Namespace containing a series of customised math operations not found in the standard c++ library.