Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DOUAR WSMP
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HUGG
DOUAR WSMP
Commits
6184cf6f
Commit
6184cf6f
authored
11 years ago
by
Dave Whipp
Browse files
Options
Downloads
Patches
Plain Diff
Fixed typos
parent
c9ef0aa4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/calculate_density_profile.f90
+1
-1
1 addition, 1 deletion
src/calculate_density_profile.f90
src/isostasy.f90
+5
-7
5 additions, 7 deletions
src/isostasy.f90
with
6 additions
and
8 deletions
src/calculate_density_profile.f90
+
1
−
1
View file @
6184cf6f
...
...
@@ -178,7 +178,7 @@ do i=size_str,1,-1
do
k
=
1
,
osolve
%
nlsf
! unsquished z into octree_interpolate
call
octree_interpolate
(
osolve
%
octree
,
osolve
%
noctree
,
osolve
%
icon
,
&
osolve
%
nleaves
,
osolve
%
lsf
(:,
i
),
osolve
%
nnode
,
&
osolve
%
nleaves
,
osolve
%
lsf
(:,
k
),
osolve
%
nnode
,
&
x
,
y
,
z
/
params
%
vex
,
cur_lsf
)
if
(
cur_lsf
<
eps
)
then
matnum
=
k
...
...
This diff is collapsed.
Click to expand it.
src/isostasy.f90
+
5
−
7
View file @
6184cf6f
subroutine
isostasy
(
params
,
weightel
,
ov
,
surface
,
mat
,
flag0
,
bcdef
,
istep
)
subroutine
isostasy
(
params
,
weightel
,
ov
,
surface
,
mat
,
flag0
,
bcdef
,
istep
,
iter
)
! first go at imposing isostasy
! this routine assumes that the original surface are flat
...
...
@@ -22,6 +22,7 @@ type(material) mat(0:params%nmat)
integer
flag0
type
(
bc_definition
)
bcdef
integer
istep
integer
iter
double precision
xc
,
yc
,
zc
,
eps
,
dtcur
integer
i
,
j
,
ii
,
jj
,
kk
,
ie
,
dlev
,
is
,
iproc
,
nproc
,
ierr
...
...
@@ -88,8 +89,8 @@ do ie=1,ov%nleaves
! w(leafb)=w(leafb)+weightel(leaf)/(4.d0**dlev)*(4.d0**levelb)
enddo
! Store minimum column weight as reference weight in first isostasy call
if
(
params
%
f
irst
_
iter
)
then
! Store minimum column weight as reference weight in first isostasy call
of run
if
(
istep
==
params
%
ir
e
st
art
+1
.and.
iter
==
1
)
then
weightrefloc
=
minloc
(
abs
(
weight
))
params
%
weightref
=
weight
(
weightrefloc
(
1
),
weightrefloc
(
2
))
endif
...
...
@@ -111,7 +112,6 @@ weightref=params%weightref
!write (*,*) 'weightref mod: ',weightref
if
(
.not.
params
%
flexure
)
then
! apply local isostasy
! the deflection is stored in array weight
do
j
=
1
,
nb
...
...
@@ -120,9 +120,7 @@ if (.not.params%flexure) then
weight
(
i
,
j
)
=
(
weight
(
i
,
j
)
-
weightref
)/
mat
(
surface
(
params
%
nmat
)
%
material
)
%
density
enddo
enddo
else
! flexural isostasy
nflex
=
8
*
nb
allocate
(
work
(
nflex
,
nflex
),
flex
(
nflex
,
nflex
))
...
...
@@ -237,7 +235,7 @@ enddo
! write (*,*) 'displacement max: ',maxval(diso)
!endif
if
(
bcdef
%
bctype
==
'iso_only'
.and.
params
%
f
irst
_
iter
)
then
if
(
bcdef
%
bctype
==
'iso_only'
.and.
istep
==
params
%
ir
e
st
art
+1
.and.
iter
==
1
)
then
if
(
maxval
(
diso
)
<
(
params
%
dt
*
isovelomax
))
then
params
%
nstep
=
1
!write (*,*) 'Maxval(diso) less than dt*isovelomax'
...
...
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