Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Jigyasa Watwani
/
growth-pattern-control
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3a76deec
authored
Dec 19, 2023
by
Jigyasa Watwani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deleting data files
parent
8f0e9534
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
29 deletions
remeshing_diffusion_problem/191223-101432_parameters.json
remeshing_diffusion_problem/compare.py
remeshing_diffusion_problem/191223-101432_parameters.json
deleted
100644 → 0
View file @
8f0e9534
{
"resolution"
:
10
,
"L"
:
1.0
,
"D"
:
1
,
"timestep"
:
0.1
,
"maxtime"
:
0.5
,
"timestamp"
:
"191223-101432"
}
\ No newline at end of file
remeshing_diffusion_problem/compare.py
deleted
100644 → 0
View file @
8f0e9534
import
dolfin
as
df
import
numpy
as
np
np
.
set_printoptions
(
precision
=
16
)
c1File
=
df
.
XDMFFile
(
'171223-155711_concentration.xdmf'
)
c2File
=
df
.
XDMFFile
(
'171223-155743_concentration.xdmf'
)
mesh
=
df
.
IntervalMesh
(
128
,
-
0.5
,
0.5
)
times
=
np
.
arange
(
0.0
,
1.1
,
0.1
)
SFS
=
df
.
FunctionSpace
(
mesh
,
'P'
,
1
)
for
steps
in
range
(
len
(
times
)):
c1
=
df
.
Function
(
SFS
)
c2
=
df
.
Function
(
SFS
)
c1File
.
read_checkpoint
(
c1
,
'concentration'
,
steps
)
c2File
.
read_checkpoint
(
c2
,
'concentration'
,
steps
)
print
(
df
.
assemble
((
c2
-
c1
)
**
2
*
df
.
dx
(
mesh
))
**
0.5
)
c1File
.
close
()
c2File
.
close
()
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