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
7a26e9b0
Commit
7a26e9b0
authored
15 years ago
by
Douglas Guptill
Browse files
Options
Downloads
Patches
Plain Diff
remove lt_work
parent
4c2e2e8e
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
erosion.f90
+2
-3
2 additions, 3 deletions
erosion.f90
with
2 additions
and
3 deletions
erosion.f90
+
2
−
3
View file @
7a26e9b0
...
...
@@ -67,7 +67,7 @@ integer ntmax,nhmax,npmax,nmax,nmode,nvmax,nnpnmax,int_method
double precision
,
dimension
(:),
allocatable
::
field
,
wpoints
double precision
,
dimension
(:,:),
allocatable
::
points
,
centres
,
pointsmin
,
pointsmax
,
ppoints
integer
,
dimension
(:,:),
allocatable
::
vertices
,
neighbour
integer
,
dimension
(:),
allocatable
::
hulltriangles
,
lt_work
,
ln_work
integer
,
dimension
(:),
allocatable
::
hulltriangles
,
ln_work
logical
*
1
,
dimension
(:),
allocatable
::
lt_work_l
,
ln_work_l
integer
,
dimension
(:),
allocatable
::
vis_tlist
,
vis_elist
,
add_tlist
logical
clockwise
,
out
,
nnext
...
...
@@ -282,6 +282,7 @@ allocate (hulltriangles(nhmax),stat=err) ; if (err.ne.0) call stop_run ('Er
allocate
(
vis_tlist
(
nvmax
),
stat
=
err
)
;
if
(
err
.ne.
0
)
call
stop_run
(
'Error alloc vis_tlist in erode$'
)
allocate
(
vis_elist
(
nvmax
),
stat
=
err
)
;
if
(
err
.ne.
0
)
call
stop_run
(
'Error alloc vis_elist in erode$'
)
allocate
(
add_tlist
(
nvmax
),
stat
=
err
)
;
if
(
err
.ne.
0
)
call
stop_run
(
'Error alloc add_tlist in erode$'
)
allocate
(
ln_work
(
surface
%
nsurface
),
stat
=
err
)
;
if
(
err
.ne.
0
)
call
stop_run
(
'Error alloc ln_work in erode$'
)
allocate
(
lt_work_l
(
ntmax
),
stat
=
err
)
;
if
(
err
.ne.
0
)
call
stop_run
(
'Error alloc lt_work_l in erode$'
)
allocate
(
ln_work_l
(
surface
%
nsurface
),
stat
=
err
)
;
if
(
err
.ne.
0
)
call
stop_run
(
'Error alloc ln_work_l in erode$'
)
...
...
@@ -342,7 +343,6 @@ if (surface%spread_surface_points.gt.0) then
allocate
(
pointsmin
(
2
,
surface
%
nsurface
),
stat
=
err
)
;
if
(
err
.ne.
0
)
call
stop_run
(
'Error alloc pointsmin in erode$'
)
allocate
(
pointsmax
(
2
,
surface
%
nsurface
),
stat
=
err
)
;
if
(
err
.ne.
0
)
call
stop_run
(
'Error alloc pointsmax in erode$'
)
allocate
(
ln_work
(
surface
%
nsurface
),
stat
=
err
)
;
if
(
err
.ne.
0
)
call
stop_run
(
'Error alloc ln_work in erode$'
)
points
=
0.d0
pointsmin
=
2.d0
...
...
@@ -392,7 +392,6 @@ deallocate (hulltriangles)
deallocate
(
vis_tlist
)
deallocate
(
vis_elist
)
deallocate
(
add_tlist
)
deallocate
(
lt_work
)
deallocate
(
lt_work_l
)
deallocate
(
ln_work
)
deallocate
(
ln_work_l
)
...
...
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