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
ea6f6644
Commit
ea6f6644
authored
15 years ago
by
Dave Whipp
Browse files
Options
Downloads
Patches
Plain Diff
Modified isostasy B/Cs to only flux extra material out before the mantle subducts
parent
3dd1df7b
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
src/define_isostasy_bc.f90
+6
-4
6 additions, 4 deletions
src/define_isostasy_bc.f90
with
6 additions
and
4 deletions
src/define_isostasy_bc.f90
+
6
−
4
View file @
ea6f6644
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
!------------------------------------------------------------------------------|
!------------------------------------------------------------------------------|
subroutine
define_isostasy_bc
(
params
,
osolve
,
vo
,
zi
,
firstcall
,
l
,
x0
,
spu
,
spv
,&
subroutine
define_isostasy_bc
(
params
,
osolve
,
vo
,
zi
,
firstcall
,
l
,
x0
,
spu
,
spv
,&
ldisp
)
phi
,
ldisp
)
!------------------------------------------------------------------------------|
!------------------------------------------------------------------------------|
!(((((((((((((((( Purpose of the routine )))))))))))))))))))))))))))))))))))))
!(((((((((((((((( Purpose of the routine )))))))))))))))))))))))))))))))))))))
...
@@ -44,7 +44,7 @@ type (void) vo
...
@@ -44,7 +44,7 @@ type (void) vo
type
(
ziso
)
zi
type
(
ziso
)
zi
!double precision zisodisp(2**params%levelmax_oct+1,2**params%levelmax_oct+1)
!double precision zisodisp(2**params%levelmax_oct+1,2**params%levelmax_oct+1)
double precision
x0
(
osolve
%
nnode
),
ldisp
(
osolve
%
nnode
)
double precision
x0
(
osolve
%
nnode
),
ldisp
(
osolve
%
nnode
)
double precision
l
,
spu
,
spv
double precision
l
,
spu
,
spv
,
phi
logical
firstcall
logical
firstcall
!------------------------------------------------------------------------------|
!------------------------------------------------------------------------------|
...
@@ -103,10 +103,12 @@ else
...
@@ -103,10 +103,12 @@ else
xnow
=
nint
(
osolve
%
x
(
i
)
*
nb
)
+1
xnow
=
nint
(
osolve
%
x
(
i
)
*
nb
)
+1
ynow
=
nint
(
osolve
%
y
(
i
)
*
nb
)
+1
ynow
=
nint
(
osolve
%
y
(
i
)
*
nb
)
+1
zsl
=
zisoslx
(
xnow
,
ynow
)
zsl
=
zisoslx
(
xnow
,
ynow
)
x1
=
x0
(
i
)
-
l
/
tan
(
phi
)
x2
=
x0
(
i
)
+
l
/
tan
(
phi
)
! Modify velocities
! Modify velocities
if
(
osolve
%
z
(
i
)
.lt.
eps
)
then
if
(
osolve
%
z
(
i
)
.lt.
eps
)
then
if
(
osolve
%
x
(
i
)
.le.
x
0
(
i
)
)
then
if
(
osolve
%
x
(
i
)
.le.
x
1
)
then
if
(
spu
.le.
1.d0
-
eps
)
then
! No change in B/Cs
if
(
spu
.le.
1.d0
-
eps
)
then
! No change in B/Cs
zdisp
=
osolve
%
u
(
i
)
*
sin
(
atan
(
zsl
))
! Negative for negative slope
zdisp
=
osolve
%
u
(
i
)
*
sin
(
atan
(
zsl
))
! Negative for negative slope
vinit
=
(
osolve
%
u
(
i
)
**
2.d0
+
osolve
%
w
(
i
)
**
2.d0
)
**
0.5d0
! Incoming velocity vector magnitude
vinit
=
(
osolve
%
u
(
i
)
**
2.d0
+
osolve
%
w
(
i
)
**
2.d0
)
**
0.5d0
! Incoming velocity vector magnitude
...
@@ -117,7 +119,7 @@ else
...
@@ -117,7 +119,7 @@ else
osolve
%
u
(
i
)
=-
sqrt
(
vinit
**
2
-
osolve
%
w
(
i
)
**
2.d0
)
! New x-velocity
osolve
%
u
(
i
)
=-
sqrt
(
vinit
**
2
-
osolve
%
w
(
i
)
**
2.d0
)
! New x-velocity
endif
endif
endif
endif
else
else
if
(
osolve
%
x
(
i
)
.ge.
x2
)
then
if
(
spu
.ge.
eps
)
then
if
(
spu
.ge.
eps
)
then
zdisp
=
osolve
%
u
(
i
)
*
sin
(
atan
(
zsl
))
! Negative for negative slope
zdisp
=
osolve
%
u
(
i
)
*
sin
(
atan
(
zsl
))
! Negative for negative slope
vinit
=
(
osolve
%
u
(
i
)
**
2.d0
+
osolve
%
w
(
i
)
**
2.d0
)
**
0.5d0
! Incoming velocity vector magnitude
vinit
=
(
osolve
%
u
(
i
)
**
2.d0
+
osolve
%
w
(
i
)
**
2.d0
)
**
0.5d0
! Incoming velocity vector magnitude
...
...
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