Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Méso-NH code
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Méso-NH
Méso-NH code
Commits
967f2bbb
Commit
967f2bbb
authored
2 years ago
by
WAUTELET Philippe
Browse files
Options
Downloads
Patches
Plain Diff
Philippe 09/12/2022: balloons: add LPOSITION_INIT field
parent
eda8ef3a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/MNH/aircraft_balloon_evol.f90
+2
-1
2 additions, 1 deletion
src/MNH/aircraft_balloon_evol.f90
src/MNH/modd_aircraft_balloon.f90
+1
-0
1 addition, 0 deletions
src/MNH/modd_aircraft_balloon.f90
with
3 additions
and
1 deletion
src/MNH/aircraft_balloon_evol.f90
+
2
−
1
View file @
967f2bbb
...
@@ -304,7 +304,8 @@ SELECT TYPE ( TPFLYER )
...
@@ -304,7 +304,8 @@ SELECT TYPE ( TPFLYER )
! Initialize model number (and rank)
! Initialize model number (and rank)
! This is not done in initialisation phase because some data is not yet available at this early stage
! This is not done in initialisation phase because some data is not yet available at this early stage
! (XXHAT_ll of all models are needed by FIND_PROCESS_AND_MODEL_FROM_XY_POS)
! (XXHAT_ll of all models are needed by FIND_PROCESS_AND_MODEL_FROM_XY_POS)
IF
(
.NOT.
TPFLYER
%
LFLY
.AND.
.NOT.
TPFLYER
%
LCRASH
.AND.
TPFLYER
%
NRANK_CUR
<
0
)
THEN
IF
(
.NOT.
TPFLYER
%
LPOSITION_INIT
)
THEN
TPFLYER
%
LPOSITION_INIT
=
.TRUE.
! Get rank of the process where the balloon is and the model number
! Get rank of the process where the balloon is and the model number
CALL
FLYER_GET_RANK_MODEL_ISCRASHED
(
TPFLYER
,
PX
=
TPFLYER
%
XXLAUNCH
,
PY
=
TPFLYER
%
XYLAUNCH
)
CALL
FLYER_GET_RANK_MODEL_ISCRASHED
(
TPFLYER
,
PX
=
TPFLYER
%
XXLAUNCH
,
PY
=
TPFLYER
%
XYLAUNCH
)
IF
(
TPFLYER
%
LCRASH
)
THEN
IF
(
TPFLYER
%
LCRASH
)
THEN
...
...
This diff is collapsed.
Click to expand it.
src/MNH/modd_aircraft_balloon.f90
+
1
−
0
View file @
967f2bbb
...
@@ -152,6 +152,7 @@ TYPE, EXTENDS( TFLYERDATA ) :: TAIRCRAFTDATA
...
@@ -152,6 +152,7 @@ TYPE, EXTENDS( TFLYERDATA ) :: TAIRCRAFTDATA
END
TYPE
TAIRCRAFTDATA
END
TYPE
TAIRCRAFTDATA
TYPE
,
EXTENDS
(
TFLYERDATA
)
::
TBALLOONDATA
TYPE
,
EXTENDS
(
TFLYERDATA
)
::
TBALLOONDATA
LOGICAL
::
LPOSITION_INIT
=
.FALSE.
! True if initial position has been computed
!
!
!* balloon dynamical characteristics
!* balloon dynamical characteristics
!
!
...
...
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