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
6788109a
Commit
6788109a
authored
13 years ago
by
Dave Whipp
Browse files
Options
Downloads
Patches
Plain Diff
Added output of initial model geometry
parent
16fa0df6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/DOUAR.f90
+24
-3
24 additions, 3 deletions
src/DOUAR.f90
with
24 additions
and
3 deletions
src/DOUAR.f90
+
24
−
3
View file @
6788109a
...
@@ -109,7 +109,7 @@ call write_streepjes(6,2)
...
@@ -109,7 +109,7 @@ call write_streepjes(6,2)
!call heap_init(threadinfo,2000+iproc,'./DEBUG/mpilogs/mem_heap_'//ciproc//'.dat')
!call heap_init(threadinfo,2000+iproc,'./DEBUG/mpilogs/mem_heap_'//ciproc//'.dat')
params
%
nmpi
=
nproc
params
%
nmpi
=
nproc
if
(
iproc
.eq.
0
)
write
(
*
,
*
)
'This is DOUAR-WSMP v0.1 (2011-03-23), using '
,
nproc
,
' processors.'
if
(
iproc
.eq.
0
)
write
(
*
,
'(a,i3,a)'
)
'This is DOUAR-WSMP v0.1 (2011-03-23), using '
,
nproc
,
' processors.'
!------------------------------------------------------------------------------|
!------------------------------------------------------------------------------|
!------------------------------------------------------------------------------|
!------------------------------------------------------------------------------|
...
@@ -125,11 +125,11 @@ numarg = 0
...
@@ -125,11 +125,11 @@ numarg = 0
if
(
numarg
==
0
)
then
if
(
numarg
==
0
)
then
params
%
infile
=
'input.txt'
params
%
infile
=
'input.txt'
if
(
iproc
.eq.
0
)
write
(
*
,
*
)
'
p
rogram called with no argument'
if
(
iproc
.eq.
0
)
write
(
*
,
'(a)'
)
'
P
rogram called with no argument'
else
else
call
getarg
(
1
,
params
%
infile
)
call
getarg
(
1
,
params
%
infile
)
if
(
iproc
.eq.
0
)
then
if
(
iproc
.eq.
0
)
then
write
(
*
,
*
)
'program called with input file '
,
params
%
infile
write
(
*
,
'(a,a)'
)
'program called with input file '
,
params
%
infile
end
if
end
if
end
if
end
if
...
@@ -744,6 +744,27 @@ do while (istep.le.params%nstep)
...
@@ -744,6 +744,27 @@ do while (istep.le.params%nstep)
! Set reference strain rate flag to false after first nl iteration
! Set reference strain rate flag to false after first nl iteration
params
%
init_e2d
=
.false.
params
%
init_e2d
=
.false.
!--------------------------------------------------------------------------------------
!--------------------------------------------------------------------------------------
! if this is the first iteration of the first time step, write output file
!--------------------------------------------------------------------------------------
!--------------------------------------------------------------------------------------
if
(
istep
.eq.
1
.and.
iter
.eq.
1
.and.
iter_nl
.eq.
1
)
then
call
show_time
(
total
,
step
,
inc
,
1
,
'Write output initial step$'
)
do
is
=
1
,
osolve
%
nlsf
allocate
(
surface
(
is
)
%
u
(
surface
(
is
)
%
nsurface
))
allocate
(
surface
(
is
)
%
v
(
surface
(
is
)
%
nsurface
))
allocate
(
surface
(
is
)
%
w
(
surface
(
is
)
%
nsurface
))
surface
(
is
)
%
u
=
0.d0
;
surface
(
is
)
%
v
=
0.d0
;
surface
(
is
)
%
w
=
0.d0
enddo
call
write_global_output
(
params
,
0
,
0
,
0.d0
,
osolve
,
ov
,
vo
,
surface
,
cl
,
zi
,
nest
,
'final'
)
do
is
=
1
,
osolve
%
nlsf
deallocate
(
surface
(
is
)
%
u
,
surface
(
is
)
%
v
,
surface
(
is
)
%
w
)
enddo
call
mpi_barrier
(
mpi_comm_world
,
ierr
)
endif
!--------------------------------------------------------------------------------------
!--------------------------------------------------------------------------------------
!--------------------------------------------------------------------------------------
!--------------------------------------------------------------------------------------
! solve system with wsmp solver
! solve system with wsmp solver
...
...
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