TexGen
|
Class for meshing fabric unit cells. More...
#include <Mesher.h>
Classes | |
struct | PROJECTED_NODE |
struct | RAISED_NODE |
struct | TRIANGLE |
Public Member Functions | |
CMesher (int iBoundaryConditions=NO_BOUNDARY_CONDITIONS) | |
~CMesher (void) | |
bool | CreateMesh (CTextile &Textile) |
bool | CreateMesh (string TextileName) |
void | SetMergeTolerance (double dMergeTolerance) |
double | GetMergeTolerance () |
void | SetHybrid (bool bHybrid) |
bool | GetHybrid () |
void | SetQuadratic (bool bQuadratic) |
bool | GetQuadratic () |
void | SetProjectMidSideNodes (bool bProjectMidSideNodes) |
bool | GetProjectMidSideNodes () |
void | SaveVolumeMeshToVTK (string Filename) |
void | SaveVolumeMeshToABAQUS (string Filename, string TextileName) |
void | SaveVolumeMeshToABAQUS (string Filename, CTextile &Textile) |
const CMesh & | GetMesh () |
const list< MESHER_ELEMENT_DATA > * | GetElementData (CMesh::ELEMENT_TYPE ElementType) |
bool | CreateBasicVolumes (CTextile &Textile) |
bool | CreateBasicVolumes (string TextileName) |
void | SetSeed (double dSeed) |
double | GetSeed () |
void | SetPeriodic (bool bPeriodic) |
bool | GetPeriodic () |
void | SetDebug (bool bDebug) |
bool | GetDebug () |
Protected Types | |
typedef pair< int, int > | NODE_PAIR |
typedef vector< NODE_PAIR > | NODE_PAIR_SET |
typedef vector< NODE_PAIR_SET > | NODE_PAIR_SETS |
enum | LINE_STATE { FORWARD = 1 , REVERSE = 2 } |
Protected Member Functions | |
void | CreateVolumeMesh (CTextile &Textile) |
void | RaiseNodes (int iIndex) |
void | SubdivideNodes (int iIndex) |
double | GetBestSeed (int iIndex) |
bool | ShouldConnect (vector< RAISED_NODE > &Column1, vector< RAISED_NODE > &Column2, int h1, int h2) |
bool | ViolatesEdgeConstraint (const set< pair< int, int > > &EdgeConstraints1, const set< pair< int, int > > &EdgeConstraints2, int h, int h1, int h2) |
void | MeshColumn (TRIANGLE Triangle, int iRegion) |
bool | SplitColumn (PROJECTED_NODE &Node, vector< int > &YarnIndices, vector< vector< RAISED_NODE > > &Column) |
int | TetMeshColumn (vector< RAISED_NODE > Columns[3], set< pair< int, int > > EdgeConstraints[3]) |
int | MeshDifficultRegion (vector< RAISED_NODE > Columns[3], int Limits[6], set< pair< int, int > > EdgeConstraints[3]) |
void | FillYarnTangentsData () |
void | BuildEdgeConstraints (vector< RAISED_NODE > Columns[3], set< pair< int, int > > EdgeConstraints[3]) |
void | AddElement (CMesh::ELEMENT_TYPE Type, const vector< int > &Indices) |
void | AddEdgeConstraint (int i1, int i2) |
void | BuildMidSideNodes (vector< RAISED_NODE > Columns[3], int iYarnIndex) |
void | BuildMidSideNode (int iNodeIndex1, int iNodeIndex2, int iYarnIndex, bool bTop) |
XYZ | GetMidSideNode (int iNodeIndex1, int iNodeIndex2) |
void | ConvertMeshToQuadratic () |
bool | GetPairIndices (int iIndex1, int iIndex2, NODE_PAIR &MatchPair) |
void | GetEdgePairIndices (const NODE_PAIR_SETS &NodePairSets, int iIndex, set< int > &Match) |
void | SortPairs (NODE_PAIR_SET &NodePairs, bool bSwapY) |
void | CreateNodeSets (NODE_PAIR_SETS &EdgeNodePairSets, set< int > &CornerIndex, const vector< XYZ > &Repeats) |
bool | SaveNodeSets () |
void | AddQuadraticNodesToSets () |
void | SetupFaceSets (vector< set< int > > &FaceSets) |
vector< int > | FindFaceSets (vector< set< int > > &FaceSets, int iIndex) |
void | AddQuadNodeToSet (int i, int j, vector< int > &FaceSeti, vector< int > &FaceSetj, vector< int > &Indices) |
void | AddQuadNodeToFace (int i, int j, int iFace, vector< int > &Indices) |
int | GetQuadNodeToAdd (int i, int j) |
void | AddQuadNodeToEdge (int i, int j, int iEdge, vector< int > &Indices) |
int | GetEdge (int iFace1, int iFace2) |
void | RemoveDuplicateNodes () |
void | RemoveDuplicateFaceNodes (vector< int > &FaceSet) |
void | SaveProjectedContoursToVTK (string Filename) |
void | SaveProjectedAreasToVTK (string Filename) |
bool | ValidProjectedMesh () |
int | SplitLinesByNodes (CMesh &Mesh) |
int | SplitLinesByLines (CMesh &Mesh) |
int | MergeStraightLines (CMesh &Mesh) |
int | RemoveDuplicateSegments (CMesh &Mesh) |
int | RemoveDegenerateSegments (CMesh &Mesh) |
CMesh | GetProjectedMesh (const CMesh &Mesh) |
bool | GetCommonEdgeIndices (int Indices1[3], int Indices2[3], int Common[2]) |
bool | CreateProjectedAreas () |
bool | SeedOuterBoundary () |
bool | RemoveOuterBoundary () |
double | GetRegionArea (const PROJECTED_REGION &Region) |
bool | CreateProjectedCenters () |
bool | PointInsideRegion (XYZ Point, int iRegion) |
void | CalculateYarnIndices () |
bool | MeshProjectedAreas () |
bool | GetMeshVerticalBounds (const CMesh &Mesh, XYZ Point, double &dMinZ, double &dMaxZ, bool bForceFind=false) |
Protected Attributes | |
CMesh | m_VolumeMesh |
set< pair< int, int > > | m_EdgeConstraints |
map< pair< int, int >, XYZ > | m_MidSideNodeLocations |
NODE_PAIR_SETS | m_NodePairSets |
vector< PROJECTED_NODE > | m_ProjectedNodes |
bool | m_bHybrid |
bool | m_bQuadratic |
bool | m_bProjectMidSideNodes |
double | m_dLayerMergeTolerance |
list< MESHER_ELEMENT_DATA > | m_ElementData [CMesh::NUM_ELEMENT_TYPES] |
CPeriodicBoundaries * | m_PeriodicBoundaries |
int | m_iBoundaryConditions |
vector< int > | m_FaceA |
vector< int > | m_FaceB |
vector< int > | m_FaceC |
vector< int > | m_FaceD |
vector< int > | m_FaceE |
vector< int > | m_FaceF |
vector< vector< int > > | m_Edges |
vector< int > | m_Vertices |
CTextileMaterials * | m_Materials |
CMesh | m_ProjectedMesh |
CMesh | m_DomainMesh |
vector< CMesh > | m_YarnMeshes |
vector< PROJECTED_REGION > | m_ProjectedRegions |
vector< int > | m_TriangleRegions |
double | m_dTolerance |
CTextile * | m_pTextile |
double | m_dSeed |
bool | m_bCreatePeriodic |
bool | m_bDebug |
Friends | |
class | CGeometrySolver |
|
protected |
|
protected |
|
protected |
|
protectedinherited |
Enumerator | |
---|---|
FORWARD | |
REVERSE |
Definition at line 51 of file BasicVolumes.h.
CMesher::CMesher | ( | int | iBoundaryConditions = NO_BOUNDARY_CONDITIONS | ) |
Definition at line 31 of file Mesher.cpp.
References m_PeriodicBoundaries, TexGen::MATERIAL_CONTINUUM, TexGen::NO_BOUNDARY_CONDITIONS, NULL, TexGen::SHEARED_BC, and TexGen::SINGLE_LAYER_RVE.
CMesher::~CMesher | ( | void | ) |
Definition at line 54 of file Mesher.cpp.
References m_PeriodicBoundaries, and NULL.
|
protected |
Definition at line 1219 of file Mesher.cpp.
References m_EdgeConstraints.
Referenced by AddElement().
|
protected |
Definition at line 1162 of file Mesher.cpp.
References AddEdgeConstraint(), TexGen::CMesh::AddElement(), GetPairIndices(), m_VolumeMesh, TexGen::CMesh::PYRAMID, TexGen::CMesh::TET, and TexGen::CMesh::WEDGE.
Referenced by MeshDifficultRegion(), and TetMeshColumn().
|
protected |
Definition at line 1850 of file Mesher.cpp.
References GetQuadNodeToAdd(), and m_Edges.
Referenced by AddQuadNodeToSet().
|
protected |
Definition at line 1824 of file Mesher.cpp.
References TexGen::FACE_A, TexGen::FACE_B, TexGen::FACE_C, TexGen::FACE_D, TexGen::FACE_E, TexGen::FACE_F, GetQuadNodeToAdd(), m_FaceA, m_FaceB, m_FaceC, m_FaceD, m_FaceE, and m_FaceF.
Referenced by AddQuadNodeToSet().
|
protected |
Definition at line 1734 of file Mesher.cpp.
References AddQuadNodeToEdge(), AddQuadNodeToFace(), and GetEdge().
Referenced by AddQuadraticNodesToSets().
|
protected |
Definition at line 1596 of file Mesher.cpp.
References AddQuadNodeToSet(), FindFaceSets(), TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNumNodes(), m_VolumeMesh, TexGen::CMesh::QUADRATIC_TET, RemoveDuplicateNodes(), and SetupFaceSets().
Referenced by CreateMesh().
|
protected |
Definition at line 681 of file Mesher.cpp.
References m_EdgeConstraints.
Referenced by MeshColumn().
|
protected |
Definition at line 613 of file Mesher.cpp.
References TexGen::CBasicVolumes::GetMeshVerticalBounds(), TexGen::CMesh::GetNode(), m_MidSideNodeLocations, m_VolumeMesh, TexGen::CBasicVolumes::m_YarnMeshes, and TexGen::XYZ::z.
Referenced by BuildMidSideNodes().
|
protected |
Definition at line 596 of file Mesher.cpp.
References BuildMidSideNode().
Referenced by MeshColumn().
|
protectedinherited |
Definition at line 826 of file BasicVolumes.cpp.
References TexGen::CBasicVolumes::GetMeshVerticalBounds(), TexGen::CBasicVolumes::m_ProjectedRegions, and TexGen::CBasicVolumes::m_YarnMeshes.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes().
|
protected |
Definition at line 650 of file Mesher.cpp.
References TexGen::CMesh::AddElement(), TexGen::CMesh::AddNode(), TexGen::CMesh::GetIndices(), GetMidSideNode(), TexGen::CMesh::GetNodes(), m_VolumeMesh, TexGen::CMesh::MergeNodes(), TexGen::CMesh::QUADRATIC_TET, and TexGen::CMesh::TET.
Referenced by CreateMesh().
|
inherited |
Definition at line 53 of file BasicVolumes.cpp.
References TexGen::CBasicVolumes::CalculateYarnIndices(), TexGen::CMesh::Clear(), TexGen::CMesh::ConvertQuadstoTriangles(), TexGen::CBasicVolumes::CreateProjectedAreas(), TexGen::CBasicVolumes::CreateProjectedCenters(), TexGen::CTextile::GetDomain(), TexGen::CDomain::GetMesh(), TexGen::CBasicVolumes::GetProjectedMesh(), TexGen::CTextile::GetYarns(), TexGen::CMesh::InsertMesh(), TexGen::CBasicVolumes::m_bCreatePeriodic, TexGen::CBasicVolumes::m_bDebug, TexGen::CBasicVolumes::m_DomainMesh, TexGen::CBasicVolumes::m_dTolerance, TexGen::CBasicVolumes::m_ProjectedMesh, TexGen::CBasicVolumes::m_ProjectedRegions, TexGen::CBasicVolumes::m_pTextile, TexGen::CBasicVolumes::m_TriangleRegions, TexGen::CBasicVolumes::m_YarnMeshes, TexGen::CMesh::MergeNodes(), TexGen::CBasicVolumes::MergeStraightLines(), TexGen::CBasicVolumes::MeshProjectedAreas(), TexGen::CBasicVolumes::RemoveDegenerateSegments(), TexGen::CBasicVolumes::RemoveDuplicateSegments(), TexGen::CBasicVolumes::RemoveOuterBoundary(), TexGen::CBasicVolumes::SaveProjectedAreasToVTK(), TexGen::CBasicVolumes::SaveProjectedContoursToVTK(), TexGen::CMesh::SaveToVTK(), TexGen::CBasicVolumes::SeedOuterBoundary(), TexGen::CBasicVolumes::SplitLinesByLines(), TexGen::CBasicVolumes::SplitLinesByNodes(), TGLOG, and TexGen::CBasicVolumes::ValidProjectedMesh().
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes(), CreateMesh(), and TexGen::CGeometrySolver::CreateSystem().
|
inherited |
Definition at line 44 of file BasicVolumes.cpp.
References TexGen::CBasicVolumes::CreateBasicVolumes(), and TEXGEN.
|
virtual |
Implements TexGen::CMesherBase.
Definition at line 71 of file Mesher.cpp.
References AddQuadraticNodesToSets(), ConvertMeshToQuadratic(), TexGen::CBasicVolumes::CreateBasicVolumes(), CreateVolumeMesh(), FillYarnTangentsData(), TexGen::CMesh::GetNumElements(), TexGen::CMesh::GetNumNodes(), m_bQuadratic, m_iBoundaryConditions, m_ProjectedNodes, m_VolumeMesh, TexGen::NO_BOUNDARY_CONDITIONS, and TGLOG.
|
inlinevirtual |
Reimplemented from TexGen::CMesherBase.
Definition at line 68 of file Mesher.h.
References TexGen::CMesherBase::CreateMesh().
|
protected |
Definition at line 1454 of file Mesher.cpp.
References m_Edges, m_FaceA, m_FaceB, m_FaceC, m_FaceD, m_FaceE, m_FaceF, m_NodePairSets, m_ProjectedNodes, and m_Vertices.
Referenced by CreateVolumeMesh().
|
protectedinherited |
Definition at line 517 of file BasicVolumes.cpp.
References TexGen::CrossProduct(), TexGen::DotProduct(), TexGen::CBasicVolumes::FORWARD, TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNode(), TexGen::CBasicVolumes::GetRegionArea(), TexGen::CMesh::LINE, TexGen::CBasicVolumes::m_ProjectedMesh, TexGen::CBasicVolumes::m_ProjectedRegions, TexGen::CBasicVolumes::REVERSE, and TGERROR.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes(), and TexGen::CBasicVolumes::SeedOuterBoundary().
|
protectedinherited |
Definition at line 745 of file BasicVolumes.cpp.
References TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNode(), TexGen::CMesh::LINE, TexGen::CBasicVolumes::m_ProjectedMesh, TexGen::CBasicVolumes::m_ProjectedRegions, TexGen::Max(), TexGen::Min(), TexGen::CBasicVolumes::PointInsideRegion(), TexGen::RandomNumber(), TexGen::XYZ::x, and TexGen::XYZ::y.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes().
|
protected |
Definition at line 208 of file Mesher.cpp.
References TexGen::CMesh::AddNode(), TexGen::CMesh::Clear(), CreateNodeSets(), GetEdgePairIndices(), TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNode(), TexGen::CMesh::GetNodePairs(), TexGen::CMesh::GetNumNodes(), TexGen::CYarn::GetRepeats(), TexGen::CTextile::GetYarn(), TexGen::CMesher::TRIANGLE::i, TexGen::CBasicVolumes::m_bCreatePeriodic, m_EdgeConstraints, m_ElementData, m_iBoundaryConditions, TexGen::CBasicVolumes::m_ProjectedMesh, m_ProjectedNodes, TexGen::CBasicVolumes::m_TriangleRegions, m_VolumeMesh, MeshColumn(), TexGen::NO_BOUNDARY_CONDITIONS, TexGen::CMesh::NUM_ELEMENT_TYPES, RaiseNodes(), SortPairs(), TexGen::CMesh::TRI, and TexGen::XYZ::z.
Referenced by CreateMesh().
|
protected |
Definition at line 1283 of file Mesher.cpp.
References TexGen::CTextile::GetDomain(), TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNode(), TexGen::CMesh::GetNumNodes(), TexGen::CTextile::GetNumYarns(), TexGen::CDomain::GetTranslations(), TexGen::CTextile::GetYarn(), m_ElementData, TexGen::CBasicVolumes::m_pTextile, m_VolumeMesh, TexGen::CMesh::NUM_ELEMENT_TYPES, TexGen::CYarn::PointInsideYarn(), and TGLOG.
Referenced by CreateMesh().
|
protected |
Definition at line 1722 of file Mesher.cpp.
Referenced by AddQuadraticNodesToSets().
|
protected |
Definition at line 473 of file Mesher.cpp.
References TexGen::CMesh::GetIndices(), TexGen::GetLength(), TexGen::CMesh::GetNode(), TexGen::CBasicVolumes::m_dSeed, TexGen::CBasicVolumes::m_ProjectedMesh, and TexGen::CMesh::TRI.
Referenced by SubdivideNodes().
|
protectedinherited |
Definition at line 217 of file BasicVolumes.cpp.
Referenced by TexGen::CBasicVolumes::GetProjectedMesh().
|
inlineinherited |
Definition at line 48 of file BasicVolumes.h.
|
protected |
Definition at line 1856 of file Mesher.cpp.
References TexGen::FACE_A, TexGen::FACE_B, TexGen::FACE_C, TexGen::FACE_D, TexGen::FACE_E, and TexGen::FACE_F.
Referenced by AddQuadNodeToSet().
|
protected |
Definition at line 1388 of file Mesher.cpp.
References GetEdgePairIndices().
Referenced by CreateVolumeMesh(), and GetEdgePairIndices().
const list< MESHER_ELEMENT_DATA > * CMesher::GetElementData | ( | CMesh::ELEMENT_TYPE | ElementType | ) |
Definition at line 1332 of file Mesher.cpp.
References m_ElementData, NULL, TexGen::CMesh::NUM_ELEMENT_TYPES, and TGERROR.
|
protectedinherited |
Find the intersections between a line passing through Point and parallel to the Z axis and the given mesh, then return the lowest and highest of those intersections.
Mesh | The mesh with which to perform the intersection test |
Point | The point through which the line passes through (the z component is redundant) |
dMinZ | The returned lowest intersection point |
dMaxZ | The returned highest intersection point |
bForceFind | Force the algorithm to find at least one intersection, what this means is that it will find the intersection with the closest triangle and use that intersection as the maximum and minimum returned bounds. This is usefull for cases where the vertical line just misses the mesh and the closest intersection is needed. |
Definition at line 975 of file BasicVolumes.cpp.
References TexGen::CMesh::IntersectLine(), TexGen::CBasicVolumes::m_dTolerance, and TexGen::XYZ::z.
Referenced by BuildMidSideNode(), TexGen::CBasicVolumes::CalculateYarnIndices(), TexGen::CGeometrySolver::RaiseNodes(), and RaiseNodes().
|
protected |
Definition at line 639 of file Mesher.cpp.
References TexGen::CMesh::GetNode(), m_MidSideNodeLocations, and m_VolumeMesh.
Referenced by ConvertMeshToQuadratic().
|
protected |
|
inlineinherited |
Definition at line 45 of file BasicVolumes.h.
Definition at line 1007 of file BasicVolumes.cpp.
References TexGen::CBasicVolumes::GetCommonEdgeIndices(), TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNode(), TexGen::CMesh::GetNodes(), TexGen::CMesh::LINE, TexGen::CMesh::RemoveAllElementsExcept(), TexGen::CMesh::RemoveUnreferencedNodes(), TexGen::CMesh::TRI, TexGen::XYZ::x, and TexGen::XYZ::y.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes().
|
protected |
Definition at line 1922 of file Mesher.cpp.
Referenced by AddQuadNodeToEdge(), and AddQuadNodeToFace().
|
protectedinherited |
Definition at line 733 of file BasicVolumes.cpp.
References TexGen::CBasicVolumes::PROJECTED_REGION::ContourNodes, TexGen::GetArea(), TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNode(), TexGen::CMesh::LINE, and TexGen::CBasicVolumes::m_ProjectedMesh.
Referenced by TexGen::CBasicVolumes::CreateProjectedAreas().
|
inlineinherited |
Definition at line 42 of file BasicVolumes.h.
|
protectedinherited |
Definition at line 235 of file BasicVolumes.cpp.
References TexGen::DotProduct(), TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNode(), TexGen::CMesh::LINE, TexGen::CBasicVolumes::m_dTolerance, TexGen::Normalise(), and TexGen::CMesh::RemoveUnreferencedNodes().
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes().
|
protected |
Definition at line 504 of file Mesher.cpp.
References BuildEdgeConstraints(), BuildMidSideNodes(), TexGen::CMesher::TRIANGLE::i, TexGen::MESHER_ELEMENT_DATA::iLayer, TexGen::MESHER_ELEMENT_DATA::iRegion, TexGen::POINT_INFO::iYarnIndex, m_bProjectMidSideNodes, m_bQuadratic, m_ElementData, m_ProjectedNodes, TexGen::CBasicVolumes::m_ProjectedRegions, SplitColumn(), TexGen::CMesh::TET, and TetMeshColumn().
Referenced by CreateVolumeMesh().
|
protected |
Definition at line 878 of file Mesher.cpp.
References AddElement(), TexGen::CMesh::AddNode(), TexGen::CMesh::GetNode(), TexGen::CMesh::GetNumNodes(), m_VolumeMesh, TexGen::CMesh::TET, and TexGen::XYZ::z.
Referenced by TetMeshColumn().
|
protectedinherited |
Definition at line 852 of file BasicVolumes.cpp.
References TexGen::CMesh::AddNode(), TexGen::CMesh::Clear(), TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNode(), TexGen::CMesh::GetNumNodes(), TexGen::CMesh::LINE, TexGen::CBasicVolumes::m_bCreatePeriodic, TexGen::CBasicVolumes::m_dSeed, TexGen::CBasicVolumes::m_ProjectedMesh, TexGen::CBasicVolumes::m_ProjectedRegions, TexGen::CBasicVolumes::m_TriangleRegions, TexGen::CMesh::TRI, TexGen::XYZ::x, and TexGen::XYZ::y.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes().
|
protectedinherited |
Definition at line 788 of file BasicVolumes.cpp.
References TexGen::CBasicVolumes::PROJECTED_REGION::ContourNodes, TexGen::CMesh::GetNode(), TexGen::CBasicVolumes::m_ProjectedMesh, TexGen::CBasicVolumes::m_ProjectedRegions, TexGen::XYZ::x, and TexGen::XYZ::y.
Referenced by TexGen::CBasicVolumes::CreateProjectedCenters().
|
protected |
Definition at line 307 of file Mesher.cpp.
References TexGen::CMesher::RAISED_NODE::dZ, TexGen::CMesh::GetIndices(), TexGen::CBasicVolumes::GetMeshVerticalBounds(), TexGen::CMesh::GetNode(), TexGen::CBasicVolumes::m_DomainMesh, TexGen::CBasicVolumes::m_ProjectedMesh, m_ProjectedNodes, TexGen::CBasicVolumes::m_ProjectedRegions, TexGen::CBasicVolumes::m_TriangleRegions, TexGen::CBasicVolumes::m_YarnMeshes, SubdivideNodes(), TexGen::CMesh::TRI, and TexGen::CMesher::RAISED_NODE::YarnBoundaryIndices.
Referenced by CreateVolumeMesh().
|
protectedinherited |
Definition at line 332 of file BasicVolumes.cpp.
References TexGen::CMesh::GetIndices(), and TexGen::CMesh::LINE.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes().
|
protected |
Definition at line 1959 of file Mesher.cpp.
Referenced by RemoveDuplicateNodes().
|
protected |
Definition at line 1943 of file Mesher.cpp.
References m_Edges, m_FaceA, m_FaceB, m_FaceC, m_FaceD, m_FaceE, m_FaceF, and RemoveDuplicateFaceNodes().
Referenced by AddQuadraticNodesToSets().
|
protectedinherited |
Definition at line 304 of file BasicVolumes.cpp.
References TexGen::CMesh::GetIndices(), and TexGen::CMesh::LINE.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes().
|
protectedinherited |
Definition at line 721 of file BasicVolumes.cpp.
References TexGen::CBasicVolumes::m_ProjectedRegions.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes().
|
protected |
Definition at line 1570 of file Mesher.cpp.
References m_Edges, m_FaceA, m_FaceB, m_FaceC, m_FaceD, m_FaceE, m_FaceF, m_PeriodicBoundaries, m_Vertices, TexGen::CPeriodicBoundaries::SetEdges(), TexGen::CPeriodicBoundaries::SetFaceA(), TexGen::CPeriodicBoundaries::SetFaceB(), TexGen::CPeriodicBoundaries::SetFaceC(), and TexGen::CPeriodicBoundaries::SetVertex().
Referenced by SaveVolumeMeshToABAQUS().
|
protectedinherited |
Definition at line 191 of file BasicVolumes.cpp.
References TexGen::CMeshDataBase::ELEMENT, TexGen::CMeshData< T >::m_Data, TexGen::CBasicVolumes::m_ProjectedMesh, TexGen::CBasicVolumes::m_ProjectedRegions, TexGen::CBasicVolumes::m_TriangleRegions, and TexGen::CMesh::SaveToVTK().
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes().
|
protectedinherited |
Definition at line 148 of file BasicVolumes.cpp.
References TexGen::CMesh::AddNode(), TexGen::CMeshDataBase::ELEMENT, TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNode(), TexGen::CMesh::LINE, TexGen::CMeshData< T >::m_Data, TexGen::CBasicVolumes::m_ProjectedMesh, TexGen::CBasicVolumes::m_ProjectedRegions, and TexGen::CMesh::SaveToVTK().
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes().
void CMesher::SaveVolumeMeshToABAQUS | ( | string | Filename, |
CTextile & | Textile | ||
) |
Definition at line 156 of file Mesher.cpp.
References TexGen::CPeriodicBoundaries::CreatePeriodicBoundaries(), TexGen::POINT_INFO::dSurfaceDistance, TexGen::POINT_INFO::dVolumeFraction, TexGen::CTextile::GetDomain(), TexGen::CDomain::GetMesh(), TexGen::CMesh::GetNumNodes(), TexGen::CTextile::GetNumYarns(), TexGen::POINT_INFO::iYarnIndex, TexGen::POINT_INFO::Location, m_ElementData, m_iBoundaryConditions, m_Materials, m_PeriodicBoundaries, m_VolumeMesh, TexGen::NO_BOUNDARY_CONDITIONS, TexGen::CMesh::NUM_ELEMENT_TYPES, TexGen::POINT_INFO::Orientation, TexGen::CTextileMaterials::OutputMaterials(), TexGen::ReplaceFilenameSpaces(), SaveNodeSets(), TexGen::CMesh::SaveToABAQUS(), TexGen::CPeriodicBoundaries::SetDomainSize(), TexGen::CTextileMaterials::SetupMaterials(), TGERROR, TGLOG, TexGen::POINT_INFO::Up, and TexGen::POINT_INFO::YarnTangent.
void CMesher::SaveVolumeMeshToABAQUS | ( | string | Filename, |
string | TextileName | ||
) |
Definition at line 145 of file Mesher.cpp.
References NULL, SaveVolumeMeshToABAQUS(), TEXGEN, and TGERROR.
Referenced by SaveVolumeMeshToABAQUS().
void CMesher::SaveVolumeMeshToVTK | ( | string | Filename | ) |
Definition at line 101 of file Mesher.cpp.
References TexGen::CMeshDataBase::ELEMENT, TexGen::CMeshData< T >::m_Data, m_ElementData, m_VolumeMesh, TexGen::CMesh::NUM_ELEMENT_TYPES, TexGen::CMesh::SaveToVTK(), and TGLOG.
|
protectedinherited |
Definition at line 640 of file BasicVolumes.cpp.
References TexGen::CMesh::AddNode(), TexGen::CBasicVolumes::CreateProjectedAreas(), TexGen::CMesh::GetIndices(), TexGen::GetLength(), TexGen::CMesh::GetNode(), TexGen::CMesh::LINE, TexGen::CBasicVolumes::m_dSeed, TexGen::CBasicVolumes::m_ProjectedMesh, and TexGen::CBasicVolumes::m_ProjectedRegions.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes().
|
inlineinherited |
Definition at line 47 of file BasicVolumes.h.
|
inline |
|
inlineinherited |
Definition at line 44 of file BasicVolumes.h.
Referenced by TexGen::CGeometrySolver::CreateSystem().
|
inline |
|
inline |
|
inlineinherited |
Definition at line 41 of file BasicVolumes.h.
|
protected |
Definition at line 1647 of file Mesher.cpp.
References m_Edges, m_FaceA, m_FaceB, m_FaceC, m_FaceD, m_FaceE, m_FaceF, and m_Vertices.
Referenced by AddQuadraticNodesToSets().
|
protected |
Definition at line 1247 of file Mesher.cpp.
|
protected |
Definition at line 1429 of file Mesher.cpp.
References TexGen::CMesh::GetNode(), TexGen::CBasicVolumes::m_ProjectedMesh, TexGen::XYZ::x, and TexGen::XYZ::y.
Referenced by CreateVolumeMesh().
|
protected |
Definition at line 567 of file Mesher.cpp.
References TexGen::CMesher::PROJECTED_NODE::RaisedNodes.
Referenced by MeshColumn().
|
protectedinherited |
Definition at line 414 of file BasicVolumes.cpp.
References TexGen::CMesh::AddNode(), TexGen::CMesh::GetIndices(), TexGen::GetLengthSquared(), TexGen::CMesh::GetNode(), TexGen::CMesh::LINE, TexGen::LineLineIntersect2D(), TexGen::CBasicVolumes::m_dTolerance, TexGen::XYZ::x, and TexGen::XYZ::y.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes().
|
protectedinherited |
Definition at line 352 of file BasicVolumes.cpp.
References TexGen::CMesh::GetIndices(), TexGen::GetLengthSquared(), TexGen::CMesh::GetNode(), TexGen::CMesh::LINE, TexGen::CBasicVolumes::m_dTolerance, TexGen::CMesh::NodesBegin(), TexGen::CMesh::NodesEnd(), and TexGen::ShortestDistPointLine().
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes().
|
protected |
Definition at line 407 of file Mesher.cpp.
References TexGen::CMesher::RAISED_NODE::dZ, GetBestSeed(), m_dLayerMergeTolerance, m_ProjectedNodes, and TexGen::CMesher::PROJECTED_NODE::RaisedNodes.
Referenced by RaiseNodes().
|
protected |
Definition at line 743 of file Mesher.cpp.
References AddElement(), MeshDifficultRegion(), TexGen::CMesh::TET, and ViolatesEdgeConstraint().
Referenced by MeshColumn().
|
protectedinherited |
Definition at line 485 of file BasicVolumes.cpp.
References TexGen::CMesh::GetIndices(), TexGen::CMesh::LINE, and TexGen::CBasicVolumes::m_ProjectedMesh.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes().
|
protected |
Definition at line 1227 of file Mesher.cpp.
Referenced by TetMeshColumn().
|
friend |
|
protectedinherited |
Definition at line 123 of file BasicVolumes.h.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes(), CreateVolumeMesh(), and TexGen::CBasicVolumes::MeshProjectedAreas().
|
protectedinherited |
Definition at line 124 of file BasicVolumes.h.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes(), and TexGen::CGeometrySolver::SolveSystem().
|
protected |
Definition at line 192 of file Mesher.h.
Referenced by MeshColumn().
|
protected |
Definition at line 191 of file Mesher.h.
Referenced by CreateMesh(), and MeshColumn().
|
protected |
Definition at line 193 of file Mesher.h.
Referenced by SubdivideNodes().
|
protectedinherited |
Definition at line 113 of file BasicVolumes.h.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes(), and RaiseNodes().
|
protectedinherited |
Definition at line 122 of file BasicVolumes.h.
Referenced by GetBestSeed(), TexGen::CBasicVolumes::MeshProjectedAreas(), and TexGen::CBasicVolumes::SeedOuterBoundary().
|
protectedinherited |
|
protected |
Definition at line 179 of file Mesher.h.
Referenced by AddEdgeConstraint(), BuildEdgeConstraints(), and CreateVolumeMesh().
|
protected |
Definition at line 207 of file Mesher.h.
Referenced by AddQuadNodeToEdge(), CreateNodeSets(), RemoveDuplicateNodes(), SaveNodeSets(), and SetupFaceSets().
|
protected |
Definition at line 195 of file Mesher.h.
Referenced by CreateVolumeMesh(), FillYarnTangentsData(), GetElementData(), MeshColumn(), SaveVolumeMeshToABAQUS(), and SaveVolumeMeshToVTK().
|
protected |
Definition at line 201 of file Mesher.h.
Referenced by AddQuadNodeToFace(), CreateNodeSets(), RemoveDuplicateNodes(), SaveNodeSets(), and SetupFaceSets().
|
protected |
Definition at line 202 of file Mesher.h.
Referenced by AddQuadNodeToFace(), CreateNodeSets(), RemoveDuplicateNodes(), SaveNodeSets(), and SetupFaceSets().
|
protected |
Definition at line 203 of file Mesher.h.
Referenced by AddQuadNodeToFace(), CreateNodeSets(), RemoveDuplicateNodes(), SaveNodeSets(), and SetupFaceSets().
|
protected |
Definition at line 204 of file Mesher.h.
Referenced by AddQuadNodeToFace(), CreateNodeSets(), RemoveDuplicateNodes(), SaveNodeSets(), and SetupFaceSets().
|
protected |
Definition at line 205 of file Mesher.h.
Referenced by AddQuadNodeToFace(), CreateNodeSets(), RemoveDuplicateNodes(), SaveNodeSets(), and SetupFaceSets().
|
protected |
Definition at line 206 of file Mesher.h.
Referenced by AddQuadNodeToFace(), CreateNodeSets(), RemoveDuplicateNodes(), SaveNodeSets(), and SetupFaceSets().
|
protected |
Definition at line 198 of file Mesher.h.
Referenced by CreateMesh(), CreateVolumeMesh(), and SaveVolumeMeshToABAQUS().
|
protected |
Definition at line 211 of file Mesher.h.
Referenced by SaveVolumeMeshToABAQUS().
|
protected |
Definition at line 184 of file Mesher.h.
Referenced by BuildMidSideNode(), and GetMidSideNode().
|
protected |
Definition at line 187 of file Mesher.h.
Referenced by CreateNodeSets(), and GetPairIndices().
|
protected |
Definition at line 197 of file Mesher.h.
Referenced by CMesher(), SaveNodeSets(), SaveVolumeMeshToABAQUS(), and ~CMesher().
|
protectedinherited |
Definition at line 112 of file BasicVolumes.h.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes(), TexGen::CBasicVolumes::CreateProjectedAreas(), TexGen::CBasicVolumes::CreateProjectedCenters(), TexGen::CGeometrySolver::CreateSurfaceMesh(), TexGen::CGeometrySolver::CreateSystem(), CreateVolumeMesh(), TexGen::CGeometrySolver::GetAverageLength(), GetBestSeed(), TexGen::CBasicVolumes::GetRegionArea(), TexGen::CBasicVolumes::MeshProjectedAreas(), TexGen::CBasicVolumes::PointInsideRegion(), TexGen::CGeometrySolver::RaiseNodes(), RaiseNodes(), TexGen::CBasicVolumes::SaveProjectedAreasToVTK(), TexGen::CBasicVolumes::SaveProjectedContoursToVTK(), TexGen::CBasicVolumes::SeedOuterBoundary(), SortPairs(), and TexGen::CBasicVolumes::ValidProjectedMesh().
|
protected |
Definition at line 189 of file Mesher.h.
Referenced by CreateMesh(), CreateNodeSets(), CreateVolumeMesh(), MeshColumn(), RaiseNodes(), and SubdivideNodes().
|
protectedinherited |
Definition at line 115 of file BasicVolumes.h.
Referenced by TexGen::CBasicVolumes::CalculateYarnIndices(), TexGen::CBasicVolumes::CreateBasicVolumes(), TexGen::CBasicVolumes::CreateProjectedAreas(), TexGen::CBasicVolumes::CreateProjectedCenters(), MeshColumn(), TexGen::CBasicVolumes::MeshProjectedAreas(), TexGen::CBasicVolumes::PointInsideRegion(), TexGen::CGeometrySolver::RaiseNodes(), RaiseNodes(), TexGen::CBasicVolumes::RemoveOuterBoundary(), TexGen::CBasicVolumes::SaveProjectedAreasToVTK(), TexGen::CBasicVolumes::SaveProjectedContoursToVTK(), and TexGen::CBasicVolumes::SeedOuterBoundary().
|
protectedinherited |
Definition at line 121 of file BasicVolumes.h.
Referenced by TexGen::CGeometrySolver::AssignFibreDirectionToElements(), TexGen::CBasicVolumes::CreateBasicVolumes(), TexGen::CGeometrySolver::CreateSystem(), TexGen::CGeometrySolver::DeformTextile(), FillYarnTangentsData(), and TexGen::CGeometrySolver::GetDeformedCopyOfTextile().
|
protectedinherited |
Definition at line 119 of file BasicVolumes.h.
Referenced by TexGen::CBasicVolumes::CreateBasicVolumes(), CreateVolumeMesh(), TexGen::CBasicVolumes::MeshProjectedAreas(), TexGen::CGeometrySolver::RaiseNodes(), RaiseNodes(), and TexGen::CBasicVolumes::SaveProjectedAreasToVTK().
|
protected |
Definition at line 208 of file Mesher.h.
Referenced by CreateNodeSets(), SaveNodeSets(), and SetupFaceSets().
|
protected |
Definition at line 173 of file Mesher.h.
Referenced by AddElement(), AddQuadraticNodesToSets(), BuildMidSideNode(), ConvertMeshToQuadratic(), CreateMesh(), CreateVolumeMesh(), FillYarnTangentsData(), GetMidSideNode(), MeshDifficultRegion(), SaveVolumeMeshToABAQUS(), and SaveVolumeMeshToVTK().
|
protectedinherited |
Definition at line 114 of file BasicVolumes.h.
Referenced by BuildMidSideNode(), TexGen::CBasicVolumes::CalculateYarnIndices(), TexGen::CBasicVolumes::CreateBasicVolumes(), TexGen::CGeometrySolver::RaiseNodes(), and RaiseNodes().