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
33e08d40
Commit
33e08d40
authored
13 years ago
by
Dave Whipp
Browse files
Options
Downloads
Patches
Plain Diff
Minor formatting update
parent
dcbd98ad
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/VTK/post.f90
+9
-7
9 additions, 7 deletions
src/VTK/post.f90
with
9 additions
and
7 deletions
src/VTK/post.f90
+
9
−
7
View file @
33e08d40
...
@@ -96,7 +96,7 @@ logical,dimension(:),allocatable::influid,do_it,subset_leaves,instrain
...
@@ -96,7 +96,7 @@ logical,dimension(:),allocatable::influid,do_it,subset_leaves,instrain
logical
::
nest
logical
::
nest
character
clsf
*
3
,
c4
*
4
,
cc4
*
4
,
dir
*
128
character
clsf
*
3
,
c4
*
4
,
cc4
*
4
,
dir
*
128
character
cs
,
nestin
,
dumpc
character
cs
,
nestin
character
*
8
vernum
,
input_vernum
,
output_vernum
character
*
8
vernum
,
input_vernum
,
output_vernum
double precision
::
eps
,
dil
,
current_time
,
activation_time
,
zmin
,
xx
,
yy
,
zz
,
maxe2d
,
dist
double precision
::
eps
,
dil
,
current_time
,
activation_time
,
zmin
,
xx
,
yy
,
zz
,
maxe2d
,
dist
...
@@ -139,10 +139,10 @@ write (*,'(a)') '!
...
@@ -139,10 +139,10 @@ write (*,'(a)') '!
write
(
*
,
'(a,a8,a)'
)
'! DOUAR-WSMP version post-processor version '
,
vernum
,
' |'
write
(
*
,
'(a,a8,a)'
)
'! DOUAR-WSMP version post-processor version '
,
vernum
,
' |'
write
(
*
,
'(a)'
)
'!------------------------------------------------------------------------------|'
write
(
*
,
'(a)'
)
'!------------------------------------------------------------------------------|'
write
(
*
,
'(a)'
)
'!------------------------------------------------------------------------------|'
write
(
*
,
'(a)'
)
'!------------------------------------------------------------------------------|'
write
(
*
,
*
)
''
write
(
*
,
'(a)'
)
'Enter directory name containing DOUAR output.'
write
(
*
,
'(a)'
)
'Enter directory name containing DOUAR output.'
write
(
*
,
'(a)'
)
'NOTE: The Directory name should be relative to the directory one level above
the
'
write
(
*
,
'(a)'
)
'NOTE: The Directory name should be relative to the directory one level above'
write
(
*
,
'(a)'
)
'working directory. The default value is "OUT" (i.e., "../OUT")'
write
(
*
,
'(a)'
)
'
the
working directory. The default value is "OUT" (i.e., "../OUT")'
write
(
*
,
'(a)'
)
'Output directory: '
write
(
*
,
'(a)'
)
'Output directory: '
read
(
*
,
'(a)'
)
dir
read
(
*
,
'(a)'
)
dir
ndir
=
len_trim
(
dir
)
ndir
=
len_trim
(
dir
)
...
@@ -151,6 +151,7 @@ if (ndir.eq.0) then
...
@@ -151,6 +151,7 @@ if (ndir.eq.0) then
dir
(
1
:
ndir
)
=
'OUT'
dir
(
1
:
ndir
)
=
'OUT'
endif
endif
write
(
*
,
*
)
''
write
(
*
,
'(a)'
)
'Output time step: '
write
(
*
,
'(a)'
)
'Output time step: '
read
*
,
nstep
read
*
,
nstep
write
(
c4
,
'(i4)'
)
nstep
write
(
c4
,
'(i4)'
)
nstep
...
@@ -158,6 +159,7 @@ if (nstep.lt.1000) c4(1:1)='0'
...
@@ -158,6 +159,7 @@ if (nstep.lt.1000) c4(1:1)='0'
if
(
nstep
.lt.
100
)
c4
(
1
:
2
)
=
'00'
if
(
nstep
.lt.
100
)
c4
(
1
:
2
)
=
'00'
if
(
nstep
.lt.
10
)
c4
(
1
:
3
)
=
'000'
if
(
nstep
.lt.
10
)
c4
(
1
:
3
)
=
'000'
write
(
*
,
*
)
''
write
(
*
,
'(a)'
)
'Is the output a debug file? (y or n)'
write
(
*
,
'(a)'
)
'Is the output a debug file? (y or n)'
read
(
*
,
'(a)'
)
cs
read
(
*
,
'(a)'
)
cs
select
case
(
cs
)
select
case
(
cs
)
...
@@ -175,6 +177,7 @@ case default
...
@@ -175,6 +177,7 @@ case default
stop
stop
end
select
end
select
write
(
*
,
*
)
''
write
(
*
,
'(a)'
)
'Is this a nested model? (y or n)'
write
(
*
,
'(a)'
)
'Is this a nested model? (y or n)'
read
(
*
,
'(a)'
)
nestin
read
(
*
,
'(a)'
)
nestin
select
case
(
trim
(
nestin
))
select
case
(
trim
(
nestin
))
...
@@ -198,15 +201,14 @@ write(*,'(a)') '------------------- VTK file production in progress ------------
...
@@ -198,15 +201,14 @@ write(*,'(a)') '------------------- VTK file production in progress ------------
write
(
*
,
'(a)'
)
'--------------------------------------------------------------------------'
write
(
*
,
'(a)'
)
'--------------------------------------------------------------------------'
write
(
*
,
'(a)'
)
'--------------------------------------------------------------------------'
write
(
*
,
'(a)'
)
'--------------------------------------------------------------------------'
if
(
cs
==
'y'
)
then
if
(
cs
==
'y'
)
then
write
(
*
,
*
)
'Processing output file '
,
'../'
//
dir
(
1
:
ndir
)//
'/time_'
//
c4
//
'_'
//
cc4
//
'.bin'
write
(
*
,
'(a,a,a,a,a,a,a,a,a)'
)
'Processing output file '
,
'../'
//
dir
(
1
:
ndir
)//
'/time_'
//
c4
//
'_'
//
cc4
//
'.bin'
open
(
unit
=
7
,
file
=
'../'
//
dir
(
1
:
ndir
)//
'/time_'
//
c4
//
'_'
//
cc4
//
'.bin'
,
status
=
'old'
,
form
=
'unformatted'
)
open
(
unit
=
7
,
file
=
'../'
//
dir
(
1
:
ndir
)//
'/time_'
//
c4
//
'_'
//
cc4
//
'.bin'
,
status
=
'old'
,
form
=
'unformatted'
)
else
else
write
(
*
,
*
)
'Processing output file '
,
'../'
//
dir
(
1
:
ndir
)//
'/time_'
//
c4
//
'.bin'
write
(
*
,
'(a,a,a,a,a,a,a)'
)
'Processing output file '
,
'../'
//
dir
(
1
:
ndir
)//
'/time_'
//
c4
//
'.bin'
open
(
unit
=
7
,
file
=
'../'
//
dir
(
1
:
ndir
)//
'/time_'
//
c4
//
'.bin'
,
status
=
'old'
,
form
=
'unformatted'
)
open
(
unit
=
7
,
file
=
'../'
//
dir
(
1
:
ndir
)//
'/time_'
//
c4
//
'.bin'
,
status
=
'old'
,
form
=
'unformatted'
)
end
if
end
if
write
(
*
,
'(a)'
)
'--------------------------------------------------------------------------'
write
(
*
,
'(a)'
)
'--------------------------------------------------------------------------'
open
(
unit
=
77
,
file
=
'input_of_outputs.txt'
,
status
=
'old'
)
open
(
unit
=
77
,
file
=
'input_of_outputs.txt'
,
status
=
'old'
)
read
(
77
,
*
)
dumpc
read
(
77
,
*
)
input_vernum
read
(
77
,
*
)
input_vernum
write
(
*
,
'(a,a)'
)
'Post-processor input file version '
,
input_vernum
write
(
*
,
'(a,a)'
)
'Post-processor input file version '
,
input_vernum
if
(
vernum
/
=
input_vernum
)
then
if
(
vernum
/
=
input_vernum
)
then
...
...
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