TexGen
Core
StaggeredVoxelMesh.h
Go to the documentation of this file.
1
/*=============================================================================
2
TexGen: Geometric textile modeller.
3
Copyright (C) 2012 Louise Brown
4
5
This program is free software; you can redistribute it and/or
6
modify it under the terms of the GNU General Public License
7
as published by the Free Software Foundation; either version 2
8
of the License, or (at your option) any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program; if not, write to the Free Software
17
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
=============================================================================*/
19
20
#pragma once
21
#include "
RectangularVoxelMesh.h
"
22
23
namespace
TexGen
24
{
25
using namespace
std;
26
27
class
CTextile;
28
30
class
CLASS_DECLSPEC
CStaggeredVoxelMesh
:
public
CRectangularVoxelMesh
31
{
32
public
:
33
CStaggeredVoxelMesh
(
string
Type =
"CStaggeredPeriodicBoundaries"
);
34
virtual
~CStaggeredVoxelMesh
(
void
);
35
36
void
SetOffset(
double
Offset );
37
38
protected
:
40
bool
CalculateVoxelSizes(
CTextile
&Textile);
41
42
void
OutputPeriodicBoundaries(ostream &Output,
CTextile
& Textile,
int
iBoundaryConditions,
bool
bMatrixOnly );
43
double
m_Offset
;
44
};
45
};
// namespace TexGen
CLASS_DECLSPEC
#define CLASS_DECLSPEC
Definition:
Misc.h:35
RectangularVoxelMesh.h
TexGen::CRectangularVoxelMesh
Class used to generate voxel mesh for output to ABAQUS.
Definition:
RectangularVoxelMesh.h:31
TexGen::CStaggeredVoxelMesh
Class used to generate voxel mesh for output to ABAQUS where a reduced unit cell is obtained by use o...
Definition:
StaggeredVoxelMesh.h:31
TexGen::CStaggeredVoxelMesh::m_Offset
double m_Offset
Definition:
StaggeredVoxelMesh.h:43
TexGen::CTextile
Represents a textile cell containing yarns.
Definition:
Textile.h:39
TexGen
Namespace containing a series of customised math operations not found in the standard c++ library.
Definition:
AdjustMeshInterference.h:27
Generated by
1.9.2