Changeset 4191


Ignore:
Timestamp:
06/24/10 13:42:10 (15 years ago)
Author:
Mathieu Morlighem
Message:

minor debugging

Location:
issm/trunk/src/c/objects
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/ElementResults/ElementResult.h

    r4050 r4191  
    1818                virtual        ~ElementResult(){};
    1919               
     20                virtual void Echo(void)=0;
     21
    2022                virtual ElementResult* SpawnSingElementResult(int  index)=0;
    2123                virtual ElementResult* SpawnBeamElementResult(int* indices)=0;
     
    2729};
    2830
    29 
    3031void NodalValuesUnitConversion(double* nodal_values, int num_nodal_values,int enum_type,Parameters* parameters);
    3132#endif
  • issm/trunk/src/c/objects/ElementResults/TriaVertexElementResult.cpp

    r4050 r4191  
    2929        step=in_step;
    3030        time=in_time;
     31        printf("file: TriaVertexElementResult.cpp line: %i\n",__LINE__);
     32        this->Echo();
     33        printf("file: TriaVertexElementResult.cpp line: %i\n",__LINE__);
    3134}
    3235/*}}}*/
     
    4952               
    5053        printf("TriaVertexElementResult:\n");
    51         TriaVertexElementResult::DeepEcho();
    5254        printf("   step: %i\n",this->step);
    5355        printf("   time: %g\n",this->time);
     56        this->TriaVertexInput::DeepEcho();
    5457
    5558}
  • issm/trunk/src/c/objects/ExternalResults/DoubleMatExternalResult.cpp

    r4182 r4191  
    3434        N=in_N;
    3535
     36        /*Copy result in values*/
     37        if (M*N==0) ISSMERROR("result of enum %s has a size %ix%i and con not be allocated",EnumAsString(in_enum_type),in_M,in_N);
    3638        values=(double*)xmalloc(M*N*sizeof(double));
    3739        memcpy(values,in_values,M*N*sizeof(double));
Note: See TracChangeset for help on using the changeset viewer.