This code :
void Law2_ScGeom_CohFrictPhys_ElasticPlastic::go(shared_ptr<InteractionGeometry>& ig, shared_ptr<InteractionPhysics>& ip, Interaction* contact, Scene* ncb) { cerr << "CFL starts"<<endl; cerr << (scene ? "yep" : "no") << endl; Real dt = scene->dt;
results in :
CFL starts no Erreur de segmentation
This code :
void Law2_ScGeom_ CohFrictPhys_ ElasticPlastic: :go(shared_ ptr<Interaction Geometry> & ig, shared_ ptr<Interaction Physics> & ip, Interaction* contact, Scene* ncb)
{
cerr << "CFL starts"<<endl;
cerr << (scene ? "yep" : "no") << endl;
Real dt = scene->dt;
results in :
CFL starts
no
Erreur de segmentation