Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
meshquantities
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tt_pub
meshquantities
Commits
b0702814
Commit
b0702814
authored
Jul 5, 2023
by
Tscherpel, Tabea
Browse files
Options
Downloads
Patches
Plain Diff
Replace meshquantities.py
parent
8f1cf7a6
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
meshquantities.py
+3
-4
3 additions, 4 deletions
meshquantities.py
with
3 additions
and
4 deletions
meshquantities.py
+
3
−
4
View file @
b0702814
#########################
#########################
Hi
# author: T.Tscherpel
# created 21/06/2023
#########################
...
...
@@ -65,8 +65,6 @@ plt.grid()
tikzplotlib
.
save
(
"
ebar_adapt.tex
"
)
plt
.
savefig
(
"
ebar_adapt.png
"
)
plt
.
show
()
####################
...
...
@@ -87,7 +85,8 @@ def meshcube(iR,s):
def
meshdiamond
(
m
,
s
):
# input: m number of tetrahedra on the spine, s scaling factor for the whole mesh
#
# output: mesh of a diamond domain with spine vertices (0,0,s) and (0,0,-s) and equator vertices on the circle with radius s, with 2m tetrahedra
Pm
=
np
.
array
([
0.0
,
0.0
,
-
1.0
])
Pp
=
np
.
array
([
0.0
,
0.0
,
1.0
])
P0
=
np
.
array
([
0.0
,
0.0
,
0.0
])
...
...
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