File indexing completed on 2025-01-18 09:57:48
0001
0002 #define TOOLS_WROOT_MPI_NTUPLE_LEAF_SET_LENGTH_MAX(a__type) \
0003 {leaf_ref<a__type>* _pleaf_ = _pleaf?id_cast<base_leaf, leaf_ref<a__type> >(*_pleaf):0;\
0004 if(_pleaf_) {\
0005 if(!a_mpi.pack(_pleaf_->length())) return false;\
0006 if(!a_mpi.pack(_pleaf_->get_max())) return false;\
0007 set_done = true;\
0008 }}
0009
0010 #define TOOLS_WROOT_MPI_NTUPLE_LEAF_STD_VECTOR_SET_LENGTH_MAX(a__type) \
0011 {leaf_std_vector_ref<a__type>* _pleaf_ = _pleaf?id_cast<base_leaf, leaf_std_vector_ref<a__type> >(*_pleaf):0;\
0012 if(_pleaf_) {\
0013 if(!a_mpi.pack(_pleaf_->length())) return false;\
0014 if(!a_mpi.pack(_pleaf_->get_max())) return false;\
0015 set_done = true;\
0016 }}
0017
0018 #define TOOLS_WROOT_MPI_NTUPLE_LEAF_STRING_SET_LENGTH_MAX \
0019 {leaf_string_ref* _pleaf_ = _pleaf?id_cast<base_leaf,leaf_string_ref>(*_pleaf):0;\
0020 if(_pleaf_) {\
0021 if(!a_mpi.pack(_pleaf_->length())) return false;\
0022 if(!a_mpi.pack(_pleaf_->get_max())) return false;\
0023 set_done = true;\
0024 }}
0025