Ignore:
Timestamp:
08/25/09 13:04:05 (16 years ago)
Author:
Eric.Larour
Message:

Model and FemModel are now classes in their own right.
This changes the cores quite a bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/parallel/CreateFemModel.cpp

    r1822 r1881  
    3131        IoModel* model=NULL;
    3232       
    33 
    3433        _printf_("   fill model with matlab workspace data\n");
    3534        IoModelInit(&model,MODEL);
     
    7170
    7271        _printf_("   free ressources:\n");
     72        PetscSynchronizedPrintf(MPI_COMM_WORLD,"ok1\n");
     73        PetscSynchronizedFlush(MPI_COMM_WORLD);
     74
    7375        DeleteIoModel(&model);
     76        PetscSynchronizedPrintf(MPI_COMM_WORLD,"ok2\n");
     77        PetscSynchronizedFlush(MPI_COMM_WORLD);
     78
    7479
    7580        /*Assign output pointers:*/
     81PetscSynchronizedPrintf(MPI_COMM_WORLD,"ok2a\n");
     82PetscSynchronizedFlush(MPI_COMM_WORLD);
    7683        femmodel->elements=elements;
     84PetscSynchronizedPrintf(MPI_COMM_WORLD,"ok2b\n");
     85PetscSynchronizedFlush(MPI_COMM_WORLD);
    7786        femmodel->nodes=nodes;
     87PetscSynchronizedPrintf(MPI_COMM_WORLD,"ok2c\n");
     88PetscSynchronizedFlush(MPI_COMM_WORLD);
    7889        femmodel->constraints=constraints;
    79         femmodel->loads=loads;
     90PetscSynchronizedPrintf(MPI_COMM_WORLD,"ok3\n");
     91PetscSynchronizedFlush(MPI_COMM_WORLD);
     92femmodel->loads=loads;
    8093        femmodel->materials=materials;
    8194        femmodel->parameters=parameters;
    8295        femmodel->partition=partition;
    8396        femmodel->tpartition=tpartition;
    84         femmodel->yg=yg;
     97PetscSynchronizedPrintf(MPI_COMM_WORLD,"ok4\n");
     98PetscSynchronizedFlush(MPI_COMM_WORLD);
     99femmodel->yg=yg;
    85100        femmodel->Rmg=Rmg;
    86101        femmodel->Gmn=Gmn;
    87102        femmodel->nodesets=nodesets;
    88         femmodel->ys=ys;
     103PetscSynchronizedPrintf(MPI_COMM_WORLD,"ok5\n");
     104PetscSynchronizedFlush(MPI_COMM_WORLD);
     105femmodel->ys=ys;
    89106        femmodel->ys0=ys0;
     107PetscSynchronizedPrintf(MPI_COMM_WORLD,"ok6\n");
     108PetscSynchronizedFlush(MPI_COMM_WORLD);
     109
     110
    90111}
Note: See TracChangeset for help on using the changeset viewer.