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
ac43d3e3
Commit
ac43d3e3
authored
13 years ago
by
Dave Whipp
Browse files
Options
Downloads
Patches
Plain Diff
First attempt at implementing the surface stabilization of Kaus et al., 2010
parent
46c016fc
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/build_system_wsmp.f90
+14
-1
14 additions, 1 deletion
src/build_system_wsmp.f90
with
14 additions
and
1 deletion
src/build_system_wsmp.f90
+
14
−
1
View file @
ac43d3e3
...
...
@@ -68,7 +68,7 @@ double precision weightel_glob(osolve%nleaves)
integer
,
external
::
ifind_loc_wsmp
double precision
,
dimension
(:,:),
allocatable
::
lsf_el
double precision
ael
(
8
*
ndof
,
8
*
ndof
),
bel
(
8
*
ndof
),
patch1
(
5
,
5
),
patch2
(
3
,
3
)
double precision
ael
(
8
*
ndof
,
8
*
ndof
),
bel
(
8
*
ndof
),
patch1
(
5
,
5
),
patch2
(
3
,
3
)
,
elem_dz
double precision
,
dimension
(:),
allocatable
::
penalty_loc
,
penalty_glob
,
eviscosity
,
weightel
double precision
r0
,
s0
,
t0
,
rst
,
amin
integer
i
,
j
,
k
,
itodo
,
idof
,
i1
,
i2
,
iii
,
jjj
,
err
,
jj
,
i1loc
,
k1
,
k2
,
ii
...
...
@@ -172,6 +172,8 @@ do ileaves=1,osolve%nleaves
! transfer elemental matrix and rhs into wsmpmatrix structure
! different for symmetric or nonsymmetric matrices
do
i
=
1
,
params
%
mpe
do
k1
=
1
,
params
%
mpe
do
idof1
=
1
,
ndof
i1
=
(
vo
%
ftr
(
osolve
%
icon
(
k1
,
ileaves
))
-1
)
*
ndof
+
idof1
...
...
@@ -189,6 +191,17 @@ do ileaves=1,osolve%nleaves
endif
enddo
enddo
if
(
kfix
(
ileaves
)
<
1
)
then
if
(
idof1
==
3
)
then
iloc
=
iffind_loc_wsmp
(
i1loc
,
i1
,
ja
,
ia
,
n_iproc
,
nz_loc
)
elem_dz
=
(
osolve
%
icon
(
5
,
ileaves
)
-
osolve
%
icon
(
1
,
ileaves
))
*
params
%
vex
if
(
k1
<
5
)
then
avals
(
iloc
)
=
avals
(
iloc
)
+
(
params
%
dt
*
weightel
(
ileaves
))/(
2
*
elem_dz
)
else
avals
(
iloc
)
=
avals
(
iloc
)
-
(
params
%
dt
*
weightel
(
ileaves
))/(
2
*
elem_dz
)
endif
endif
endif
b
(
i1loc
,
1
)
=
b
(
i1loc
,
1
)
+
bel
(
iii
)
endif
enddo
...
...
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