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
7a78b857
Commit
7a78b857
authored
14 years ago
by
Dave Whipp
Browse files
Options
Downloads
Patches
Plain Diff
Initial e2d value can now be define in the input file
parent
db9f7d37
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/read_input_file.f90
+6
-1
6 additions, 1 deletion
src/read_input_file.f90
with
6 additions
and
1 deletion
src/read_input_file.f90
+
6
−
1
View file @
7a78b857
...
@@ -68,7 +68,7 @@ subroutine read_input_file (params,threadinfo,material0,mat,surface,boxes, &
...
@@ -68,7 +68,7 @@ subroutine read_input_file (params,threadinfo,material0,mat,surface,boxes, &
! default value is 1.d0
! default value is 1.d0
! surface are surface structure
! surface are surface structure
! for each surface, one needs to define a levelt, itype, material and fnme.
! for each surface, one needs to define a levelt, itype, material and fnme.
! levelt is the inital level for the particles on the surface; to be accurate
! levelt is the init
i
al level for the particles on the surface; to be accurate
! and avoid wholes in the surface during definition of the lsf, one should use
! and avoid wholes in the surface during definition of the lsf, one should use
! levelt=levelmax_oct+1 for all surfaces as a minimum value; itype should be 1
! levelt=levelmax_oct+1 for all surfaces as a minimum value; itype should be 1
! for foldable surfaces or 0 for nonfoldable surfaces; material is the material
! for foldable surfaces or 0 for nonfoldable surfaces; material is the material
...
@@ -175,6 +175,11 @@ endif
...
@@ -175,6 +175,11 @@ endif
call
mpi_bcast
(
params
%
init_e2d
,
1
,
mpi_logical
,
0
,
mpi_comm_world
,
ierr
)
call
mpi_bcast
(
params
%
init_e2d
,
1
,
mpi_logical
,
0
,
mpi_comm_world
,
ierr
)
write
(
threadinfo
%
Logunit
,
*
)
'init_e2d '
,
params
%
init_e2d
write
(
threadinfo
%
Logunit
,
*
)
'init_e2d '
,
params
%
init_e2d
params
%
e2d0
=
1.d0
if
(
iproc
==
0
)
call
scanfile
(
params
%
infile
,
'e2d0'
,
params
%
e2d0
,
ires
)
call
mpi_bcast
(
params
%
e2d0
,
1
,
mpi_double_precision
,
0
,
mpi_comm_world
,
ierr
)
write
(
threadinfo
%
Logunit
,
*
)
'e2d0 '
,
params
%
e2d0
do
i
=
0
,
params
%
nmat
do
i
=
0
,
params
%
nmat
write
(
cm
,
'(i3)'
)
i
write
(
cm
,
'(i3)'
)
i
il
=
1
il
=
1
...
...
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