//on source side : sending T=VT^(-1).(W.S)
//on target side :: receiving T and storing it in field
- _mapping.sendRecv(target_value.data(),field,this->_presence_dft_value,this->_dft_value);
+ _mapping.sendRecv(target_value.data(),field);
if( _target_group.containsMyRank() )
{
* The ids that were defined by addElementFromSource method
* are sent.
*/
- void MxN_Mapping::sendRecv(double* sendfield, MEDCouplingFieldDouble& field, bool isDftValue, double dftValue) const
+ void MxN_Mapping::sendRecv(double* sendfield, MEDCouplingFieldDouble& field) const
{
CommInterface comm_interface=_union_group->getCommInterface();
const MPIProcessorGroup* group = static_cast<const MPIProcessorGroup*>(_union_group);
//setting the received values in the field
DataArrayDouble *fieldArr=field.getArray();
double* recvptr=recvbuf;
- mcIdType nbTuples(fieldArr->getNumberOfTuples());
- std::vector<bool> hitMachine(nbTuples,false);
for (int i=0; i< _recv_proc_offsets[_union_group->size()]; i++)
{
mcIdType recvId(_recv_ids[i]);
- hitMachine[recvId] = true;
for (int icomp=0; icomp<nbcomp; icomp++)
{
double temp = fieldArr->getIJ(recvId,icomp);
void prepareSendRecv();
void sendRecv(MEDCouplingFieldDouble& field);
MCAuto<DataArrayIdType> retrieveNonFetchedIdsTarget(mcIdType nbTuples) const;
- void sendRecv(double* sendfield, MEDCouplingFieldDouble& field, bool isDftValue, double dftValue) const ;
+ void sendRecv(double* sendfield, MEDCouplingFieldDouble& field) const ;
void reverseSendRecv(double* recvfield, MEDCouplingFieldDouble& field) const ;
//