Welcome, Guest
Username: Password: Remember me

TOPIC: Bug? user_tra_prof_z not called if tracer is not a sediment

Bug? user_tra_prof_z not called if tracer is not a sediment 2 years 8 months ago #40055

  • pilou1253
  • pilou1253's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 584
  • Thank you received: 106
Hi all!

I am using v8p3r1 and just noticed that tra_prof_z calls the user subroutine user_tra_prof_z only if the tracer is a sediment. If the tracer is something else, it will not be called and the tracer value will be set to the default hardcoded value of 1.

tra_prof_z should be corrected to ensure user_tra_prof_z is called for any type of tracers.

Kind regards
PL
The administrator has disabled public write access.

Bug? user_tra_prof_z not called if tracer is not a sediment 2 years 8 months ago #40059

  • pham
  • pham's Avatar
  • OFFLINE
  • Administrator
  • Posts: 1559
  • Thank you received: 602
Hello Pierre-Louis,

You are right, there is a problem with the current implementation.

Can you try the enclosed fix please and tell me if it work for you (I also changed other issues).

Hope this helps,

Chi-Tuan
Attachments:
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.