Ignore:
Timestamp:
10/25/10 08:57:04 (14 years ago)
Author:
Mathieu Morlighem
Message:

moved ISSMERROR to _error_, ISSMASSERT to _assert_ and ISSMPRINTF to _printf_

File:
1 edited

Legend:

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

    r6372 r6412  
    5353        for(i=0;i<nummodels;i++){
    5454
    55                 ISSMPRINTF(VerboseMProcessor(),"   Processing finite element model of analysis %s:\n",EnumToString(analysis_type_list[i]));
     55                _printf_(VerboseMProcessor(),"   Processing finite element model of analysis %s:\n",EnumToString(analysis_type_list[i]));
    5656                analysis_type=analysis_type_list[i];
    5757                this->SetCurrentConfiguration(analysis_type);
    5858       
    5959                if(i==0){
    60                         ISSMPRINTF(VerboseMProcessor(),"      create vertex degrees of freedom\n");
     60                        _printf_(VerboseMProcessor(),"      create vertex degrees of freedom\n");
    6161                        VerticesDofx(vertices,parameters); //only call once, we only have one set of vertices
    6262                }
    6363
    64                 ISSMPRINTF(VerboseMProcessor(),"      resolve node constraints\n");
     64                _printf_(VerboseMProcessor(),"      resolve node constraints\n");
    6565                SpcNodesx(nodes,constraints,analysis_type);
    6666       
    67                 ISSMPRINTF(VerboseMProcessor(),"      create nodal degrees of freedom\n");
     67                _printf_(VerboseMProcessor(),"      create nodal degrees of freedom\n");
    6868                NodesDofx(nodes,parameters,analysis_type);
    6969       
    70                 ISSMPRINTF(VerboseMProcessor(),"      create nodal constraints vector\n");
     70                _printf_(VerboseMProcessor(),"      create nodal constraints vector\n");
    7171                CreateNodalConstraintsx(&m_ys[i],nodes,analysis_type);
    7272
    73                 ISSMPRINTF(VerboseMProcessor(),"      create node sets\n");
     73                _printf_(VerboseMProcessor(),"      create node sets\n");
    7474                BuildNodeSetsx(&m_nodesets[i], nodes,analysis_type);
    7575
    76                 ISSMPRINTF(VerboseMProcessor(),"      configuring element and loads\n");
     76                _printf_(VerboseMProcessor(),"      configuring element and loads\n");
    7777                ConfigureObjectsx(elements, loads, nodes, vertices, materials,parameters);
    7878        }
     
    152152        }
    153153        if(found!=-1) analysis_counter=found;
    154         else ISSMERROR("Could not find alias for analysis_type %s in list of FemModel analyses",EnumToString(configuration_type));
     154        else _error_("Could not find alias for analysis_type %s in list of FemModel analyses",EnumToString(configuration_type));
    155155
    156156        /*activate matrices/vectors: */
     
    170170        /*take care of petsc options, that depend on this analysis type: */
    171171        PetscOptionsFromAnalysis(this->parameters,analysis_type);
    172         ISSMPRINTF(VerboseSolver(),"      petsc Options set for analysis type: %s\n",EnumToString(analysis_type));
     172        _printf_(VerboseSolver(),"      petsc Options set for analysis type: %s\n",EnumToString(analysis_type));
    173173
    174174}
Note: See TracChangeset for help on using the changeset viewer.