Dear all,
I would like to setup a flag for the FormFunction like:
if (FormFunction is called by SNESComputeFunction){
     flag = 1;
}else{
     flag = 0;
}
Is there any way I can know which function called FormFunction? I can  
tell very clear in debug mode, but I need this information in the code.
Thanks very much!
Rebecca