Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
HO_homog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
14
Issues
14
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Baptiste Durand
HO_homog
Commits
6f3c40f8
Commit
6f3c40f8
authored
Jan 20, 2020
by
Baptiste Durand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
few corrections
parent
bd18a9a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
ho_homog/mesh_generate/pantograph.py
ho_homog/mesh_generate/pantograph.py
+3
-1
ho_homog/toolbox_gmsh.py
ho_homog/toolbox_gmsh.py
+1
-0
No files found.
ho_homog/mesh_generate/pantograph.py
View file @
6f3c40f8
...
...
@@ -367,9 +367,11 @@ def pantograph_E11only_RVE(
ll
.
reverse
()
pattern
+=
sym_rhombus
pattern
=
geo
.
remove_duplicates
(
pattern
)
translated_pattern
=
list
()
for
ll
in
pattern
:
geo
.
translation
(
ll
,
np
.
array
((
0.0
,
thickness
,
0.0
)))
translated_pattern
.
append
(
geo
.
translation
(
ll
,
np
.
array
((
0.0
,
thickness
,
0.0
)
)))
logger
.
info
(
"Done removing of the line-loops duplicates"
)
pattern
=
translated_pattern
constr_pts
=
[
copy
.
deepcopy
(
pt
)
for
ll
in
pattern
for
pt
in
iter
((
ll
.
vertices
))]
for
ll
in
pattern
:
ll
.
offset
(
thickness
)
...
...
ho_homog/toolbox_gmsh.py
View file @
6f3c40f8
...
...
@@ -11,6 +11,7 @@ import logging
from
pathlib
import
Path
import
meshio
from
subprocess
import
run
import
gmsh
gmsh_logger
=
logging
.
getLogger
(
"ho_homog.gmsh"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment