TexGen
StaggeredPeriodicBoundaries.h
Go to the documentation of this file.
1/*=============================================================================
2TexGen: Geometric textile modeller.
3Copyright (C) 2013 Louise Brown
4
5This program is free software; you can redistribute it and/or
6modify it under the terms of the GNU General Public License
7as published by the Free Software Foundation; either version 2
8of the License, or (at your option) any later version.
9
10This program is distributed in the hope that it will be useful,
11but WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with this program; if not, write to the Free Software
17Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18=============================================================================*/
19
20#pragma once
21
22namespace TexGen
23{
24 using namespace std;
25
28 {
29 public:
30 CStaggeredPeriodicBoundaries(int NumEdges = 18, int NumVertices = 12);
32
33 void SetFaceD( vector<int>& D1, vector<int>& D2 );
34 void SetOffset( double Offset ) { m_Offset = Offset; }
35
36 protected:
37 void OutputFaceSets( ostream& Output );
39 void OutputEquations( ostream& Output, int iBoundaryConditions );
40
41 pair< vector<int>, vector<int> > m_FaceD;
42
43 double m_Offset;
44
45 };
46}; // namespace TexGen
#define CLASS_DECLSPEC
Definition: Misc.h:35
Class used to generate Abaqus output for periodic boundary conditions.
Class used to generate Abaqus input file for periodic boundary conditions for a textile with staggere...
pair< vector< int >, vector< int > > m_FaceD
Namespace containing a series of customised math operations not found in the standard c++ library.