Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hysop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
particle_methods
hysop
Commits
645af56e
Commit
645af56e
authored
11 years ago
by
Franck Pérignon
Browse files
Options
Downloads
Patches
Plain Diff
fix a small bug in fortran scales. Comp/tests ok.
parent
2ada5d82
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
HySoP/src/scalesInterface/particles/advec_remesh_lambda.f90
+9
-5
9 additions, 5 deletions
HySoP/src/scalesInterface/particles/advec_remesh_lambda.f90
with
9 additions
and
5 deletions
HySoP/src/scalesInterface/particles/advec_remesh_lambda.f90
+
9
−
5
View file @
645af56e
...
...
@@ -331,11 +331,13 @@ subroutine AC_remesh_lambda2corrected_array(direction, p_pos_adim, scal1d, bl_ty
!end if
! XXX Debug - end
if
(
bl_type
(
bl_ind
))
then
! tagged, the first particle belong to a centered block and the last to left block.
call
AC_remesh_tag_CL
(
direction
,
p_pos_adim
(
p_ind
),
scal1D
(
p_ind
),
p_pos_adim
(
p_ind
+1
),
scal1D
(
p_ind
+1
),
remesh_buffer
)
! tagged, the first particle belong to a centered block and the last to left block.
call
AC_remesh_tag_CL
(
direction
,
p_pos_adim
(
p_ind
),
scal1D
(
p_ind
),
p_pos_adim
(
p_ind
+1
),
&
scal1D
(
p_ind
+1
),
remesh_buffer
)
else
! tagged, the first particle belong to a left block and the last to centered block.
call
AC_remesh_tag_LC
(
direction
,
p_pos_adim
(
p_ind
),
scal1D
(
p_ind
),
p_pos_adim
(
p_ind
+1
),
scal1D
(
p_ind
+1
),
remesh_buffer
)
call
AC_remesh_tag_LC
(
direction
,
p_pos_adim
(
p_ind
),
scal1D
(
p_ind
),
p_pos_adim
(
p_ind
+1
),
&
scal1D
(
p_ind
+1
),
remesh_buffer
)
end
if
else
! First particle
...
...
@@ -629,9 +631,11 @@ subroutine AC_remesh_lambda2limited_array(direction, p_pos_adim, scal1d, bl_type
end
if
else
! First particle
call
AC_remesh_limitO2
(
direction
,
p_pos_adim
(
p_ind
),
scal1D
(
p_ind
),
bl_type
(
bl_ind
),
limit
(
p_ind
:
p_ind
+1
),
remesh_buffer
)
call
AC_remesh_limitO2
(
direction
,
p_pos_adim
(
p_ind
),
scal1D
(
p_ind
),
bl_type
(
bl_ind
),
&
limit
(
p_ind
:
p_ind
+1
),
remesh_buffer
)
! Second particle is remeshed with left formula
call
AC_remesh_limitO2
(
direction
,
p_pos_adim
(
p_ind
+1
),
scal1D
(
p_ind
+1
),
bl_type
(
bl_ind
+1
),
limit
(
p_ind
+1
:
p_ind
+2
),
remesh_buffer
)
call
AC_remesh_limitO2
(
direction
,
p_pos_adim
(
p_ind
+1
),
scal1D
(
p_ind
+1
),
bl_type
(
bl_ind
+1
),
&
limit
(
p_ind
+1
:
p_ind
+2
),
remesh_buffer
)
end
if
end
do
...
...
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