Adding new variables to derived types that are duplicated later on

5 views
Skip to first unread message

Hammond, Glenn E

unread,
Feb 12, 2025, 6:51:00 PMFeb 12
to pflotran-dev (pflotran-dev@googlegroups.com)

Devs,

 

Reminder: When we add new variables to derived types that initialized and duplicated, we must ensure that the new variable is added to the initialization routine and the duplication routine. For example,

https://bitbucket.org/pflotran/pflotran/src/9e359c2b3d83818dcacf811d60acc6f6b4ae59d5/src/pflotran/output_aux.F90#lines-15

Otherwise, we run into uninitialized variable that can crash the simulation.

 

Glenn

Reply all
Reply to author
Forward
0 new messages