Ignore:
Timestamp:
01/31/19 12:12:52 (5 years ago)
Author:
yushan
Message:

branch merged with trunk @1645. arch file (ep&mpi) added for ADA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/src/object_template_impl.hpp

    r1628 r1646  
    109109   template <class T> 
    110110      void CObjectTemplate<T>::parse(xml::CXMLNode & node) 
     111   TRY 
    111112   { 
    112113      xml::THashAttributes attributes = node.getAttributes(); 
    113114      CAttributeMap::setAttributes(attributes); 
    114115   } 
     116   CATCH 
    115117 
    116118   //--------------------------------------------------------------- 
     
    362364    *buffer>>attrId; 
    363365    CAttribute* attr=attrMap[attrId]; 
    364     info(50) << "attribut recu " << attrId << "  "; 
    365     if (attr->isEmpty()) info(50) << "--> empty" << endl; 
    366     else info(50) /*<attr->getValue()*/ << endl; 
     366    #pragma omp critical (_output) 
     367    { 
     368      info(50) << "attribut recu " << attrId << "  "; 
     369    } 
     370    if (attr->isEmpty())  
     371    { 
     372      #pragma omp critical (_output) 
     373      { 
     374        info(50) << "--> empty" << endl; 
     375      } 
     376    } 
     377    else 
     378    { 
     379      #pragma omp critical (_output) 
     380      { 
     381        info(50) /*<attr->getValue()*/ << endl; 
     382      } 
     383    } 
    367384    *buffer>>*attr; 
    368      info(50) << "attribut recu " << attrId << "  "; 
    369     if (attr->isEmpty()) info(50) << "--> empty" << endl; 
    370     else info(50) /*attr->getValue()*/ << endl; 
     385    #pragma omp critical (_output) 
     386    { 
     387      info(50) << "attribut recu " << attrId << "  "; 
     388    } 
     389    if (attr->isEmpty()) 
     390    { 
     391      #pragma omp critical (_output) 
     392      { 
     393        info(50) << "--> empty" << endl; 
     394      } 
     395    } 
     396    else 
     397    { 
     398      #pragma omp critical (_output) 
     399      { 
     400        info(50) /*attr->getValue()*/ << endl; 
     401      } 
     402    } 
    371403  } 
    372404 
     
    481513     oss << iendl; 
    482514     oss << "#include <boost/multi_array.hpp>" << iendl; 
    483      oss << "#include <boostXXX/shared_ptr.hpp>" << iendl; 
    484515     oss << "#include \"xios.hpp\"" << iendl; 
    485516     oss << "#include \"attribute_template.hpp\"" << iendl; 
     
    515546     oss << "INTERFACE" << iendl++; 
    516547     oss << "! Do not call directly / interface FORTRAN 2003 <-> C99"; 
    517      SuperClassMap::generateFortran2003Interface(oss,className); 
     548     SuperClassMap::generateFortran2003Interface(oss, className); 
    518549     oss << iendl--; 
    519550     oss << "END INTERFACE" << iendl--; 
Note: See TracChangeset for help on using the changeset viewer.