Dear all,
I’m trying to restart a simulation from an exodus file.
I can read the exodus file, but when I call copy_nodal_solution I get the error 
message:
“We’ll never get here”.
The message comes from DofObject::var_to_vg.

{
  936   const unsigned int
  937     nvg = this->n_var_groups(s);
  938 
  939   for (unsigned int vg=0, vg_end=0; vg<nvg; vg++)
  940     {
  941       vg_end += this->n_vars(s,vg);
  942       if (var < vg_end) return vg;
  943     }
  944 
  945   libmesh_error_msg("We'll never get here!");
  946   return 0;
  947 
}

It happens that nvg = 0, so it does not even enter in the for loop. 
Do you have any suggestions?

Thanks,
Simone





------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to