In addition  I set     FieldCtx* FC = (FieldCtx*) ctx; <br>in the _petsc_resiadualVector before any calculations<br><br>Thanks a lot<br>