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
1886b4e7
Commit
1886b4e7
authored
12 years ago
by
Tristan Carrier Baudouin
Browse files
Options
Downloads
Patches
Plain Diff
hexahedra
parent
4cfc3bfe
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Mesh/yamakawa.h
+36
-0
36 additions, 0 deletions
Mesh/yamakawa.h
with
36 additions
and
0 deletions
Mesh/yamakawa.h
+
36
−
0
View file @
1886b4e7
...
@@ -66,6 +66,27 @@ class Diagonal{
...
@@ -66,6 +66,27 @@ class Diagonal{
bool
operator
<
(
const
Diagonal
&
)
const
;
bool
operator
<
(
const
Diagonal
&
)
const
;
};
};
class
Tuple
{
private:
MVertex
*
v1
,
*
v2
,
*
v3
;
MElement
*
element
;
GFace
*
gf
;
unsigned
long
long
hash
;
public:
Tuple
();
Tuple
(
MVertex
*
,
MVertex
*
,
MVertex
*
,
MElement
*
,
GFace
*
);
Tuple
(
MVertex
*
,
MVertex
*
,
MVertex
*
);
~
Tuple
();
MVertex
*
get_v1
();
MVertex
*
get_v2
();
MVertex
*
get_v3
();
MElement
*
get_element
()
const
;
GFace
*
get_gf
()
const
;
bool
same_vertices
(
Tuple
);
unsigned
long
long
get_hash
()
const
;
bool
operator
<
(
const
Tuple
&
)
const
;
};
class
Recombinator
{
class
Recombinator
{
private:
private:
std
::
vector
<
Hex
>
potential
;
std
::
vector
<
Hex
>
potential
;
...
@@ -75,6 +96,8 @@ class Recombinator{
...
@@ -75,6 +96,8 @@ class Recombinator{
std
::
multiset
<
Facet
>
hash_tableA
;
std
::
multiset
<
Facet
>
hash_tableA
;
std
::
multiset
<
Diagonal
>
hash_tableB
;
std
::
multiset
<
Diagonal
>
hash_tableB
;
std
::
multiset
<
Diagonal
>
hash_tableC
;
std
::
multiset
<
Diagonal
>
hash_tableC
;
std
::
multiset
<
Tuple
>
tuples
;
std
::
set
<
MElement
*>
triangles
;
public:
public:
Recombinator
();
Recombinator
();
~
Recombinator
();
~
Recombinator
();
...
@@ -90,6 +113,9 @@ class Recombinator{
...
@@ -90,6 +113,9 @@ class Recombinator{
void
improved_merge
(
GRegion
*
);
void
improved_merge
(
GRegion
*
);
void
rearrange
(
GRegion
*
);
void
rearrange
(
GRegion
*
);
void
statistics
(
GRegion
*
);
void
statistics
(
GRegion
*
);
void
build_tuples
(
GRegion
*
);
void
modify_surfaces
(
GRegion
*
);
void
modify_surfaces
(
MVertex
*
,
MVertex
*
,
MVertex
*
,
MVertex
*
);
bool
sliver
(
MElement
*
,
Hex
);
bool
sliver
(
MElement
*
,
Hex
);
double
diagonal
(
MElement
*
,
int
&
,
int
&
);
double
diagonal
(
MElement
*
,
int
&
,
int
&
);
...
@@ -174,6 +200,8 @@ class Supplementary{
...
@@ -174,6 +200,8 @@ class Supplementary{
std
::
multiset
<
Facet
>
hash_tableA
;
std
::
multiset
<
Facet
>
hash_tableA
;
std
::
multiset
<
Diagonal
>
hash_tableB
;
std
::
multiset
<
Diagonal
>
hash_tableB
;
std
::
multiset
<
Diagonal
>
hash_tableC
;
std
::
multiset
<
Diagonal
>
hash_tableC
;
std
::
multiset
<
Tuple
>
tuples
;
std
::
set
<
MElement
*>
triangles
;
public:
public:
Supplementary
();
Supplementary
();
~
Supplementary
();
~
Supplementary
();
...
@@ -186,6 +214,9 @@ class Supplementary{
...
@@ -186,6 +214,9 @@ class Supplementary{
void
merge
(
GRegion
*
);
void
merge
(
GRegion
*
);
void
rearrange
(
GRegion
*
);
void
rearrange
(
GRegion
*
);
void
statistics
(
GRegion
*
);
void
statistics
(
GRegion
*
);
void
build_tuples
(
GRegion
*
);
void
modify_surfaces
(
GRegion
*
);
void
modify_surfaces
(
MVertex
*
,
MVertex
*
,
MVertex
*
,
MVertex
*
);
bool
four
(
MElement
*
);
bool
four
(
MElement
*
);
bool
five
(
MElement
*
);
bool
five
(
MElement
*
);
...
@@ -238,6 +269,8 @@ class PostOp{
...
@@ -238,6 +269,8 @@ class PostOp{
std
::
map
<
MElement
*
,
bool
>
markings
;
std
::
map
<
MElement
*
,
bool
>
markings
;
std
::
map
<
MVertex
*
,
std
::
set
<
MElement
*>
>
vertex_to_tetrahedra
;
std
::
map
<
MVertex
*
,
std
::
set
<
MElement
*>
>
vertex_to_tetrahedra
;
std
::
map
<
MVertex
*
,
std
::
set
<
MElement
*>
>
vertex_to_pyramids
;
std
::
map
<
MVertex
*
,
std
::
set
<
MElement
*>
>
vertex_to_pyramids
;
std
::
multiset
<
Tuple
>
tuples
;
std
::
set
<
MElement
*>
triangles
;
public:
public:
PostOp
();
PostOp
();
~
PostOp
();
~
PostOp
();
...
@@ -252,6 +285,9 @@ class PostOp{
...
@@ -252,6 +285,9 @@ class PostOp{
void
pyramids2
(
MVertex
*
,
MVertex
*
,
MVertex
*
,
MVertex
*
,
GRegion
*
);
void
pyramids2
(
MVertex
*
,
MVertex
*
,
MVertex
*
,
MVertex
*
,
GRegion
*
);
void
rearrange
(
GRegion
*
);
void
rearrange
(
GRegion
*
);
void
statistics
(
GRegion
*
);
void
statistics
(
GRegion
*
);
void
build_tuples
(
GRegion
*
);
void
modify_surfaces
(
GRegion
*
);
void
modify_surfaces
(
MVertex
*
,
MVertex
*
,
MVertex
*
,
MVertex
*
);
bool
four
(
MElement
*
);
bool
four
(
MElement
*
);
bool
five
(
MElement
*
);
bool
five
(
MElement
*
);
...
...
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