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
2ada5d82
Commit
2ada5d82
authored
12 years ago
by
Jean-Baptiste Lagaert
Browse files
Options
Downloads
Patches
Plain Diff
[fix] Les structures fortran (par exemple tableau de pointeur) sont déplacés dans un module à part.
parent
1204328f
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
HySoP/src/scalesInterface/structure_tools.f90
+34
-0
34 additions, 0 deletions
HySoP/src/scalesInterface/structure_tools.f90
with
34 additions
and
0 deletions
HySoP/src/scalesInterface/structure_tools.f90
0 → 100644
+
34
−
0
View file @
2ada5d82
!------------------------------------------------------------------------------
!
! MODULE: structure_tool
!
!
! DESCRIPTION:
!> This module provides some useful structure like array of pointer (basic
!fortran only defines pointer to an array) and array of pointer to array.
!
!> @author
!! Jean-Baptiste Lagaert, LEGI
!
!------------------------------------------------------------------------------
module
structure_tools
use
precision_tools
implicit
none
! --- In order to create an array of pointer to real ---
type
real_pter
real
(
WP
),
pointer
::
pter
end
type
real_pter
! --- In order to create an array of pointer to array ---
type
int_1D_pter
integer
,
dimension
(:),
pointer
::
pter
end
type
int_1D_pter
type
real_1D_pter
real
(
WP
),
dimension
(:),
pointer
::
pter
end
type
real_1D_pter
! ---------------------------------------------
end
module
structure_tools
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