Ignore:
Timestamp:
09/30/21 14:25:40 (3 years ago)
Author:
jderouillat
Message:

Clean Context and it members before MPI_Finalize (to avoid some MPI call after MPI_Finalize, such as MPI_Free_mem in ServerBuffer? destructor)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/object_template_impl.hpp

    r2203 r2241  
    6767   { 
    6868      return (CObjectTemplate<T>::AllVectObj[contextId]); 
     69   } 
     70   template <class T> 
     71      std::vector<std::shared_ptr<T> > * 
     72         CObjectTemplate<T>::GetAllVectobjectPtr(const StdString & contextId) 
     73   { 
     74      return &(CObjectTemplate<T>::AllVectObj[contextId]); 
     75   } 
     76 
     77  template <class T> 
     78      xios_map<StdString, xios_map<StdString, std::shared_ptr<T> > >* 
     79         CObjectTemplate<T>::GetAllMapobject() 
     80   { 
     81      return &(CObjectTemplate<T>::AllMapObj); 
    6982   } 
    7083 
Note: See TracChangeset for help on using the changeset viewer.