Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GTMesh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tomáš Jakubec
GTMesh
Commits
aaf9ba8d
There was an error fetching the commit references. Please try again later.
Commit
aaf9ba8d
authored
5 years ago
by
Tomáš Jakubec
Browse files
Options
Downloads
Patches
Plain Diff
Change of file names.
parent
ff17d3e9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Unstructured_mesh/MeshReader.h
+14
-1
14 additions, 1 deletion
Unstructured_mesh/MeshReader.h
Unstructured_mesh/Unstructured_mesh.pro
+2
-1
2 additions, 1 deletion
Unstructured_mesh/Unstructured_mesh.pro
Unstructured_mesh/VTKMeshReader.h
+34
-0
34 additions, 0 deletions
Unstructured_mesh/VTKMeshReader.h
with
50 additions
and
2 deletions
Unstructured_mesh/MeshReader.h
+
14
−
1
View file @
aaf9ba8d
...
@@ -2,9 +2,22 @@
...
@@ -2,9 +2,22 @@
#define MESHREADER_H
#define MESHREADER_H
template
<
unsigned
int
MeshDimension
,
typename
IndexType
,
typename
Real
,
unsigned
int
...
Reserve
>
template
<
unsigned
int
MeshDimension
>
class
MeshReader
{
class
MeshReader
{
};
};
template
<
>
class
MeshReader
<
2
>
{
public:
enum
ElementType
{
LINE
=
1
,
TRIANGLE
,
QUAD
,
POLYGON
};
};
#endif // MESHREADER_H
#endif // MESHREADER_H
This diff is collapsed.
Click to expand it.
Unstructured_mesh/Unstructured_mesh.pro
+
2
−
1
View file @
aaf9ba8d
...
@@ -18,7 +18,8 @@ HEADERS += \
...
@@ -18,7 +18,8 @@ HEADERS += \
MeshReader
.
h
\
MeshReader
.
h
\
UnstructedMeshDefine
.
h
\
UnstructedMeshDefine
.
h
\
UnstructuredMesh
.
h
\
UnstructuredMesh
.
h
\
V
ecto
r
.
h
\
V
TKMeshReade
r
.
h
\
..
/
debug
/
debug
.
h
\
..
/
debug
/
debug
.
h
\
..
/
debug
/
htmllogger
.
h
\
..
/
debug
/
htmllogger
.
h
\
Vector
.
h
\
Vertex
.
h
Vertex
.
h
This diff is collapsed.
Click to expand it.
Unstructured_mesh/VTKMeshReader.h
0 → 100644
+
34
−
0
View file @
aaf9ba8d
#ifndef VTKMESHREADER_H
#define VTKMESHREADER_H
#include
"MeshReader.h"
#include
"MeshDataContainer.h"
#include
<map>
template
<
unsigned
int
MeshDimension
>
class
VTKMeshReader
:
public
MeshReader
<
MeshDimension
>
{
};
template
<
>
class
VTKMeshReader
<
2
>
:
public
MeshReader
<
2
>
{
using
reader
=
MeshReader
<
2
>
;
std
::
map
<
int
,
typename
reader
::
ElementType
>
TypeConversionTable
{
{
3
,
reader
::
ElementType
::
LINE
},
{
5
,
reader
::
ElementType
::
TRIANGLE
},
{
8
,
reader
::
ElementType
::
QUAD
},
{
9
,
reader
::
ElementType
::
QUAD
},
{
7
,
reader
::
ElementType
::
POLYGON
},
};
// file indexing
//
//
//MeshDataContainer<IndexType>
};
#endif // VTKMESHREADER_H
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment