#657 closed Enhancement (fixed)
Proposition to declare a variable for character size
Reported by: | olegallou | Owned by: | nemo |
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | OCE | Version: | v3.3 |
Severity: | Keywords: | OPA v3.3 | |
Cc: |
Description
In Nemo, we declare the character with :
example :
sbcrnf.F90: CHARACTER(len=32) :: cl_rnfile
and for any use, we want have more than 32 character.
We propose to declare in par_kind.F90 the variable :
- INTEGER, PUBLIC, PARAMETER
- & !: Character section jp_lenmax = 256 !: Lenght of Character strings
and use this variable for all the character declaration.
Commit History (1)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
2498 | gm | 2010-12-21T15:22:05+01:00 | v3.3beta: #657 declare a variable for character size |
Change History (2)
comment:1 Changed 14 years ago by gm
- Resolution set to fixed
- Status changed from new to closed
- Type changed from Bug to Enhancement
- Version changed from v3.2 to v3.3
comment:2 Changed 3 years ago by nemo
- Keywords OPA v3.3 added
Note: See
TracTickets for help on using
tickets.
That's a very good idea !
In par_kind.F90, we add a variable "lc" :
and modify the module_example: