Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Thu Oct 18, 2018 6:34 pm




Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Author Message
PostPosted: Wed Aug 29, 2018 9:19 pm 
Offline

Joined: Sun Jun 27, 2010 8:45 pm
Posts: 13
Location: Old Dominion University
Good afternoon,

I think there's a tiny typo in the recent versions of mod_scalars.F (revision >=919):

Code:
#ifdef T_PASSIVE
      IF (.not.allocated(inert)) THEN
        allocate ( inert(NPT) )
      END IF
#endif


Since "inert" is a pointer, I think it should be "IF(.not.associated(inert)" rather than "IF(.not.allocated(inert)".

Cheers,
Pierre


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group