Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
06f80626
Commit
06f80626
authored
14 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
trying to fix abaqus export
parent
777e4601
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Geo/GModelIO_Mesh.cpp
+0
-3
0 additions, 3 deletions
Geo/GModelIO_Mesh.cpp
Geo/MHexahedron.h
+0
-4
0 additions, 4 deletions
Geo/MHexahedron.h
Geo/MTetrahedron.h
+2
-8
2 additions, 8 deletions
Geo/MTetrahedron.h
benchmarks/stl/mobilette.geo
+2
-1
2 additions, 1 deletion
benchmarks/stl/mobilette.geo
with
4 additions
and
16 deletions
Geo/GModelIO_Mesh.cpp
+
0
−
3
View file @
06f80626
...
...
@@ -3499,9 +3499,6 @@ int GModel::writeINP(const std::string &name, bool saveAll,
return
0
;
}
Msg
::
Error
(
"Abaqus INP export has not been tested yet -- please give us"
"feedback!"
);
if
(
noPhysicalGroups
())
saveAll
=
true
;
indexMeshVertices
(
saveAll
);
...
...
This diff is collapsed.
Click to expand it.
Geo/MHexahedron.h
+
0
−
4
View file @
06f80626
...
...
@@ -517,10 +517,6 @@ class MHexahedronN : public MHexahedron {
virtual
int
getPolynomialOrder
()
const
{
return
(
int
)
_order
;
}
virtual
int
getNumVertices
()
const
{
return
8
+
_vs
.
size
();
}
virtual
MVertex
*
getVertex
(
int
num
){
return
num
<
8
?
_v
[
num
]
:
_vs
[
num
-
8
];
}
virtual
MVertex
*
getVertexDIFF
(
int
num
)
{
throw
;
}
virtual
int
getNumEdgeVertices
()
const
{
return
12
*
(
_order
-
1
);
}
virtual
int
getNumFaceVertices
()
const
{
return
6
*
(
_order
-
1
)
*
(
_order
-
1
);
}
virtual
int
getNumVolumeVertices
()
const
{
...
...
This diff is collapsed.
Click to expand it.
Geo/MTetrahedron.h
+
2
−
8
View file @
06f80626
...
...
@@ -223,25 +223,19 @@ class MTetrahedron10 : public MTetrahedron {
static
const
int
map
[
10
]
=
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
9
,
8
};
return
getVertex
(
map
[
num
]);
}
virtual
MVertex
*
getVertexDIFF
(
int
num
)
{
static
const
int
map
[
10
]
=
{
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
9
,
8
};
return
getVertex
(
map
[
num
]);
}
virtual
MVertex
*
getVertexDIFF
(
int
num
){
return
getVertexBDF
(
num
);
}
virtual
MVertex
*
getVertexINP
(
int
num
){
return
getVertexBDF
(
num
);
}
virtual
int
getNumEdgeVertices
()
const
{
return
6
;
}
virtual
void
getEdgeRep
(
int
num
,
double
*
x
,
double
*
y
,
double
*
z
,
SVector3
*
n
);
virtual
int
getNumEdgesRep
();
virtual
void
getFaceRep
(
int
num
,
double
*
x
,
double
*
y
,
double
*
z
,
SVector3
*
n
);
virtual
int
getNumFacesRep
();
virtual
void
getEdgeVertices
(
const
int
num
,
std
::
vector
<
MVertex
*>
&
v
)
const
{
v
.
resize
(
3
);
MTetrahedron
::
_getEdgeVertices
(
num
,
v
);
v
[
2
]
=
_vs
[
num
];
}
virtual
void
getFaceVertices
(
const
int
num
,
std
::
vector
<
MVertex
*>
&
v
)
const
{
v
.
resize
(
6
);
...
...
This diff is collapsed.
Click to expand it.
benchmarks/stl/mobilette.geo
+
2
−
1
View file @
06f80626
...
...
@@ -26,4 +26,5 @@ EndFor
Surface
Loop
(
1
)
=
{
s
:
s
+
#
ss
[]
-
1
};
Volume
(
1
)
=
{
1
};
//Physical Surface(1) = {s : s + #ss[]-1};
Physical
Surface
(
1
)
=
{
s
:
s
+
#
ss
[]
-
1
};
Physical
Volume
(
1
)
=
1
;
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