I would like to add to the _p_DM  struct

PetscObject  dmksp, dmsnes, dmts.

   The current model that uses PetscObjectCompose() is a mis-use of 
PetscObjectCompose(), why?

The PetscObjectQuery() is always used for every function evaluation in every 
time step, every Newton step, ?

1) this is a performance problem with small size ODEs for example

2) PetscObjectQuery is suppose to be for exceptional things that occur 
seldomly, not ones that occur inside the main computational routes.

   

   Please send any technical (not philosophical) reasons why making this change 
is a bad idea and will haunt us later.

   Barry



   

Reply via email to