Ignore:
Timestamp:
06/04/09 18:07:50 (16 years ago)
Author:
Eric.Larour
Message:

Added DeepEcho function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Beam.cpp

    r465 r803  
    5353#undef __FUNCT__
    5454#define __FUNCT__ "Beam::Echo"
    55 
    5655void Beam::Echo(void){
    5756
     
    7877}
    7978
     79#undef __FUNCT__
     80#define __FUNCT__ "Beam::DeepEcho"
     81void Beam::DeepEcho(void){
     82
     83        printf("Beam:\n");
     84        printf("   id: %i\n",id);
     85        printf("   mid: %i\n",mid);
     86        printf("   mparid: %i\n",mparid);
     87        printf("   node_ids=[%i,%i]\n",node_ids[0],node_ids[1]);
     88        printf("   node_offsets=[%i,%i]\n",node_offsets[0],node_offsets[1]);
     89        printf("   matice_offset=%i\n",matice_offset);
     90        printf("   matpar_offset=%i\n",matpar_offset);
     91        printf("   h=[%g,%g]\n",h[0],h[1]);
     92        printf("   s=[%g,%g]\n",s[0],s[1]);
     93        printf("   b=[%g,%g]\n",b[0],b[1]);
     94        printf("   k=[%g,%g]\n",k[0],k[1]);
     95        printf("   onbed=%i\n",onbed);
     96        printf("   nodes: \n");
     97        if(nodes[0])nodes[0]->Echo();
     98        if(nodes[1])nodes[1]->Echo();
     99        if(matice)matice->Echo();
     100        if(matpar)matpar->Echo();
     101
     102        return;
     103}
    80104void  Beam::Marshall(char** pmarshalled_dataset){
    81105
Note: See TracChangeset for help on using the changeset viewer.