mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use data/cdata instead of begin when accessing raw content
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2011-2017 OpenFOAM Foundation
|
Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
Copyright (C) 2019 OpenCFD Ltd.
|
Copyright (C) 2019-2020 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -313,7 +313,7 @@ void Foam::Pstream::listCombineGather
|
|||||||
(
|
(
|
||||||
UPstream::commsTypes::scheduled,
|
UPstream::commsTypes::scheduled,
|
||||||
belowID,
|
belowID,
|
||||||
reinterpret_cast<char*>(receivedValues.begin()),
|
reinterpret_cast<char*>(receivedValues.data()),
|
||||||
receivedValues.byteSize(),
|
receivedValues.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
@ -370,7 +370,7 @@ void Foam::Pstream::listCombineGather
|
|||||||
(
|
(
|
||||||
UPstream::commsTypes::scheduled,
|
UPstream::commsTypes::scheduled,
|
||||||
myComm.above(),
|
myComm.above(),
|
||||||
reinterpret_cast<const char*>(Values.begin()),
|
reinterpret_cast<const char*>(Values.cdata()),
|
||||||
Values.byteSize(),
|
Values.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
@ -450,7 +450,7 @@ void Foam::Pstream::listCombineScatter
|
|||||||
(
|
(
|
||||||
UPstream::commsTypes::scheduled,
|
UPstream::commsTypes::scheduled,
|
||||||
myComm.above(),
|
myComm.above(),
|
||||||
reinterpret_cast<char*>(Values.begin()),
|
reinterpret_cast<char*>(Values.data()),
|
||||||
Values.byteSize(),
|
Values.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
@ -492,7 +492,7 @@ void Foam::Pstream::listCombineScatter
|
|||||||
(
|
(
|
||||||
UPstream::commsTypes::scheduled,
|
UPstream::commsTypes::scheduled,
|
||||||
belowID,
|
belowID,
|
||||||
reinterpret_cast<const char*>(Values.begin()),
|
reinterpret_cast<const char*>(Values.cdata()),
|
||||||
Values.byteSize(),
|
Values.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2011-2017 OpenFOAM Foundation
|
Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
Copyright (C) 2015-2019 OpenCFD Ltd.
|
Copyright (C) 2015-2020 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -84,7 +84,7 @@ void Pstream::gatherList
|
|||||||
(
|
(
|
||||||
UPstream::commsTypes::scheduled,
|
UPstream::commsTypes::scheduled,
|
||||||
belowID,
|
belowID,
|
||||||
reinterpret_cast<char*>(receivedValues.begin()),
|
reinterpret_cast<char*>(receivedValues.data()),
|
||||||
receivedValues.byteSize(),
|
receivedValues.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
@ -160,7 +160,7 @@ void Pstream::gatherList
|
|||||||
(
|
(
|
||||||
UPstream::commsTypes::scheduled,
|
UPstream::commsTypes::scheduled,
|
||||||
myComm.above(),
|
myComm.above(),
|
||||||
reinterpret_cast<const char*>(sendingValues.begin()),
|
reinterpret_cast<const char*>(sendingValues.cdata()),
|
||||||
sendingValues.byteSize(),
|
sendingValues.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
@ -246,7 +246,7 @@ void Pstream::scatterList
|
|||||||
(
|
(
|
||||||
UPstream::commsTypes::scheduled,
|
UPstream::commsTypes::scheduled,
|
||||||
myComm.above(),
|
myComm.above(),
|
||||||
reinterpret_cast<char*>(receivedValues.begin()),
|
reinterpret_cast<char*>(receivedValues.data()),
|
||||||
receivedValues.byteSize(),
|
receivedValues.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
@ -302,7 +302,7 @@ void Pstream::scatterList
|
|||||||
(
|
(
|
||||||
UPstream::commsTypes::scheduled,
|
UPstream::commsTypes::scheduled,
|
||||||
belowID,
|
belowID,
|
||||||
reinterpret_cast<const char*>(sendingValues.begin()),
|
reinterpret_cast<const char*>(sendingValues.cdata()),
|
||||||
sendingValues.byteSize(),
|
sendingValues.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2011-2017 OpenFOAM Foundation
|
Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
|
Copyright (C) 2020 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -122,7 +123,7 @@ void Foam::processorCyclicPointPatchField<Type>::initSwapAddSeparated
|
|||||||
(
|
(
|
||||||
commsType,
|
commsType,
|
||||||
procPatch_.neighbProcNo(),
|
procPatch_.neighbProcNo(),
|
||||||
reinterpret_cast<char*>(receiveBuf_.begin()),
|
reinterpret_cast<char*>(receiveBuf_.data()),
|
||||||
receiveBuf_.byteSize(),
|
receiveBuf_.byteSize(),
|
||||||
procPatch_.tag(),
|
procPatch_.tag(),
|
||||||
procPatch_.comm()
|
procPatch_.comm()
|
||||||
@ -132,7 +133,7 @@ void Foam::processorCyclicPointPatchField<Type>::initSwapAddSeparated
|
|||||||
(
|
(
|
||||||
commsType,
|
commsType,
|
||||||
procPatch_.neighbProcNo(),
|
procPatch_.neighbProcNo(),
|
||||||
reinterpret_cast<const char*>(pf.begin()),
|
reinterpret_cast<const char*>(pf.cdata()),
|
||||||
pf.byteSize(),
|
pf.byteSize(),
|
||||||
procPatch_.tag(),
|
procPatch_.tag(),
|
||||||
procPatch_.comm()
|
procPatch_.comm()
|
||||||
@ -158,7 +159,7 @@ void Foam::processorCyclicPointPatchField<Type>::swapAddSeparated
|
|||||||
(
|
(
|
||||||
commsType,
|
commsType,
|
||||||
procPatch_.neighbProcNo(),
|
procPatch_.neighbProcNo(),
|
||||||
reinterpret_cast<char*>(receiveBuf_.begin()),
|
reinterpret_cast<char*>(receiveBuf_.data()),
|
||||||
receiveBuf_.byteSize(),
|
receiveBuf_.byteSize(),
|
||||||
procPatch_.tag(),
|
procPatch_.tag(),
|
||||||
procPatch_.comm()
|
procPatch_.comm()
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2017-2018 OpenFOAM Foundation
|
Copyright (C) 2017-2018 OpenFOAM Foundation
|
||||||
Copyright (C) 2019 OpenCFD Ltd.
|
Copyright (C) 2019-2020 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -465,7 +465,7 @@ bool Foam::OFstreamCollator::write
|
|||||||
(
|
(
|
||||||
UPstream::commsTypes::nonBlocking,
|
UPstream::commsTypes::nonBlocking,
|
||||||
proci,
|
proci,
|
||||||
reinterpret_cast<char*>(slaveData[proci].begin()),
|
reinterpret_cast<char*>(slaveData[proci].data()),
|
||||||
slaveData[proci].byteSize(),
|
slaveData[proci].byteSize(),
|
||||||
Pstream::msgType(),
|
Pstream::msgType(),
|
||||||
localComm_
|
localComm_
|
||||||
@ -480,7 +480,7 @@ bool Foam::OFstreamCollator::write
|
|||||||
(
|
(
|
||||||
UPstream::commsTypes::nonBlocking,
|
UPstream::commsTypes::nonBlocking,
|
||||||
0,
|
0,
|
||||||
reinterpret_cast<const char*>(slice.begin()),
|
reinterpret_cast<const char*>(slice.cdata()),
|
||||||
slice.byteSize(),
|
slice.byteSize(),
|
||||||
Pstream::msgType(),
|
Pstream::msgType(),
|
||||||
localComm_
|
localComm_
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2011-2017 OpenFOAM Foundation
|
Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
Copyright (C) 2019 OpenCFD Ltd.
|
Copyright (C) 2019-2020 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -112,7 +112,7 @@ void Foam::processorGAMGInterfaceField::initInterfaceMatrixUpdate
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
procInterface_.neighbProcNo(),
|
procInterface_.neighbProcNo(),
|
||||||
reinterpret_cast<char*>(scalarReceiveBuf_.begin()),
|
reinterpret_cast<char*>(scalarReceiveBuf_.data()),
|
||||||
scalarReceiveBuf_.byteSize(),
|
scalarReceiveBuf_.byteSize(),
|
||||||
procInterface_.tag(),
|
procInterface_.tag(),
|
||||||
comm()
|
comm()
|
||||||
@ -123,7 +123,7 @@ void Foam::processorGAMGInterfaceField::initInterfaceMatrixUpdate
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
procInterface_.neighbProcNo(),
|
procInterface_.neighbProcNo(),
|
||||||
reinterpret_cast<const char*>(scalarSendBuf_.begin()),
|
reinterpret_cast<const char*>(scalarSendBuf_.cdata()),
|
||||||
scalarSendBuf_.byteSize(),
|
scalarSendBuf_.byteSize(),
|
||||||
procInterface_.tag(),
|
procInterface_.tag(),
|
||||||
comm()
|
comm()
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2013-2017 OpenFOAM Foundation
|
Copyright (C) 2013-2017 OpenFOAM Foundation
|
||||||
Copyright (C) 2019 OpenCFD Ltd.
|
Copyright (C) 2019-2020 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -65,7 +65,7 @@ void Foam::globalIndex::gather
|
|||||||
(
|
(
|
||||||
commsType,
|
commsType,
|
||||||
procIDs[i],
|
procIDs[i],
|
||||||
reinterpret_cast<char*>(procSlot.begin()),
|
reinterpret_cast<char*>(procSlot.data()),
|
||||||
procSlot.byteSize(),
|
procSlot.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
@ -107,7 +107,7 @@ void Foam::globalIndex::gather
|
|||||||
(
|
(
|
||||||
commsType,
|
commsType,
|
||||||
procIDs[i],
|
procIDs[i],
|
||||||
reinterpret_cast<char*>(procSlot.begin()),
|
reinterpret_cast<char*>(procSlot.data()),
|
||||||
procSlot.byteSize(),
|
procSlot.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
@ -132,7 +132,7 @@ void Foam::globalIndex::gather
|
|||||||
(
|
(
|
||||||
commsType,
|
commsType,
|
||||||
procIDs[0],
|
procIDs[0],
|
||||||
reinterpret_cast<const char*>(fld.begin()),
|
reinterpret_cast<const char*>(fld.cdata()),
|
||||||
fld.byteSize(),
|
fld.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
@ -169,7 +169,7 @@ void Foam::globalIndex::gather
|
|||||||
(
|
(
|
||||||
commsType,
|
commsType,
|
||||||
procIDs[0],
|
procIDs[0],
|
||||||
reinterpret_cast<const char*>(fld.begin()),
|
reinterpret_cast<const char*>(fld.cdata()),
|
||||||
fld.byteSize(),
|
fld.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
@ -318,7 +318,7 @@ void Foam::globalIndex::scatter
|
|||||||
(
|
(
|
||||||
commsType,
|
commsType,
|
||||||
procIDs[i],
|
procIDs[i],
|
||||||
reinterpret_cast<const char*>(procSlot.begin()),
|
reinterpret_cast<const char*>(procSlot.cdata()),
|
||||||
procSlot.byteSize(),
|
procSlot.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
@ -365,7 +365,7 @@ void Foam::globalIndex::scatter
|
|||||||
(
|
(
|
||||||
commsType,
|
commsType,
|
||||||
procIDs[i],
|
procIDs[i],
|
||||||
reinterpret_cast<const char*>(procSlot.begin()),
|
reinterpret_cast<const char*>(procSlot.cdata()),
|
||||||
procSlot.byteSize(),
|
procSlot.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
@ -390,7 +390,7 @@ void Foam::globalIndex::scatter
|
|||||||
(
|
(
|
||||||
commsType,
|
commsType,
|
||||||
procIDs[0],
|
procIDs[0],
|
||||||
reinterpret_cast<char*>(fld.begin()),
|
reinterpret_cast<char*>(fld.data()),
|
||||||
fld.byteSize(),
|
fld.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
@ -427,7 +427,7 @@ void Foam::globalIndex::scatter
|
|||||||
(
|
(
|
||||||
commsType,
|
commsType,
|
||||||
procIDs[0],
|
procIDs[0],
|
||||||
reinterpret_cast<char*>(fld.begin()),
|
reinterpret_cast<char*>(fld.data()),
|
||||||
fld.byteSize(),
|
fld.byteSize(),
|
||||||
tag,
|
tag,
|
||||||
comm
|
comm
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2015-2017 OpenFOAM Foundation
|
Copyright (C) 2015-2017 OpenFOAM Foundation
|
||||||
Copyright (C) 2015-2019 OpenCFD Ltd.
|
Copyright (C) 2015-2020 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -909,7 +909,7 @@ void Foam::mapDistributeBase::compact(const boolList& elemIsUsed, const int tag)
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
domain,
|
domain,
|
||||||
reinterpret_cast<char*>(recvFields[domain].begin()),
|
reinterpret_cast<char*>(recvFields[domain].data()),
|
||||||
recvFields[domain].size()*sizeof(bool),
|
recvFields[domain].size()*sizeof(bool),
|
||||||
tag
|
tag
|
||||||
);
|
);
|
||||||
@ -942,7 +942,7 @@ void Foam::mapDistributeBase::compact(const boolList& elemIsUsed, const int tag)
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
domain,
|
domain,
|
||||||
reinterpret_cast<const char*>(subField.begin()),
|
reinterpret_cast<const char*>(subField.cdata()),
|
||||||
subField.size()*sizeof(bool),
|
subField.size()*sizeof(bool),
|
||||||
tag
|
tag
|
||||||
);
|
);
|
||||||
@ -1076,7 +1076,7 @@ void Foam::mapDistributeBase::compact
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
domain,
|
domain,
|
||||||
reinterpret_cast<char*>(recvFields[domain].begin()),
|
reinterpret_cast<char*>(recvFields[domain].data()),
|
||||||
recvFields[domain].size()*sizeof(bool),
|
recvFields[domain].size()*sizeof(bool),
|
||||||
tag
|
tag
|
||||||
);
|
);
|
||||||
@ -1108,7 +1108,7 @@ void Foam::mapDistributeBase::compact
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
domain,
|
domain,
|
||||||
reinterpret_cast<const char*>(subField.begin()),
|
reinterpret_cast<const char*>(subField.cdata()),
|
||||||
subField.size()*sizeof(bool),
|
subField.size()*sizeof(bool),
|
||||||
tag
|
tag
|
||||||
);
|
);
|
||||||
|
|||||||
@ -513,7 +513,7 @@ void Foam::mapDistributeBase::distribute
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
domain,
|
domain,
|
||||||
reinterpret_cast<const char*>(subField.begin()),
|
reinterpret_cast<const char*>(subField.cdata()),
|
||||||
subField.byteSize(),
|
subField.byteSize(),
|
||||||
tag
|
tag
|
||||||
);
|
);
|
||||||
@ -535,7 +535,7 @@ void Foam::mapDistributeBase::distribute
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
domain,
|
domain,
|
||||||
reinterpret_cast<char*>(recvFields[domain].begin()),
|
reinterpret_cast<char*>(recvFields[domain].data()),
|
||||||
recvFields[domain].byteSize(),
|
recvFields[domain].byteSize(),
|
||||||
tag
|
tag
|
||||||
);
|
);
|
||||||
@ -1014,7 +1014,7 @@ void Foam::mapDistributeBase::distribute
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
domain,
|
domain,
|
||||||
reinterpret_cast<const char*>(subField.begin()),
|
reinterpret_cast<const char*>(subField.cdata()),
|
||||||
subField.size()*sizeof(T),
|
subField.size()*sizeof(T),
|
||||||
tag
|
tag
|
||||||
);
|
);
|
||||||
@ -1036,7 +1036,7 @@ void Foam::mapDistributeBase::distribute
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
domain,
|
domain,
|
||||||
reinterpret_cast<char*>(recvFields[domain].begin()),
|
reinterpret_cast<char*>(recvFields[domain].data()),
|
||||||
recvFields[domain].size()*sizeof(T),
|
recvFields[domain].size()*sizeof(T),
|
||||||
tag
|
tag
|
||||||
);
|
);
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2016-2017 Wikki Ltd
|
Copyright (C) 2016-2017 Wikki Ltd
|
||||||
Copyright (C) 2018 OpenCFD Ltd.
|
Copyright (C) 2018-2020 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -1089,7 +1089,7 @@ void Foam::faMesh::calcPointAreaNormals() const
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::blocking,
|
Pstream::commsTypes::blocking,
|
||||||
procPatch.neighbProcNo(),
|
procPatch.neighbProcNo(),
|
||||||
reinterpret_cast<const char*>(patchPointNormals.begin()),
|
reinterpret_cast<const char*>(patchPointNormals.cdata()),
|
||||||
patchPointNormals.byteSize()
|
patchPointNormals.byteSize()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -1105,7 +1105,7 @@ void Foam::faMesh::calcPointAreaNormals() const
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::blocking,
|
Pstream::commsTypes::blocking,
|
||||||
procPatch.neighbProcNo(),
|
procPatch.neighbProcNo(),
|
||||||
reinterpret_cast<char*>(ngbPatchPointNormals.begin()),
|
reinterpret_cast<char*>(ngbPatchPointNormals.data()),
|
||||||
ngbPatchPointNormals.byteSize()
|
ngbPatchPointNormals.byteSize()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2011-2017 OpenFOAM Foundation
|
Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
Copyright (C) 2019 OpenCFD Ltd.
|
Copyright (C) 2019-2020 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -232,7 +232,7 @@ void Foam::processorFvPatchField<Type>::initEvaluate
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
procPatch_.neighbProcNo(),
|
procPatch_.neighbProcNo(),
|
||||||
reinterpret_cast<char*>(this->begin()),
|
reinterpret_cast<char*>(this->data()),
|
||||||
this->byteSize(),
|
this->byteSize(),
|
||||||
procPatch_.tag(),
|
procPatch_.tag(),
|
||||||
procPatch_.comm()
|
procPatch_.comm()
|
||||||
@ -243,8 +243,8 @@ void Foam::processorFvPatchField<Type>::initEvaluate
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
procPatch_.neighbProcNo(),
|
procPatch_.neighbProcNo(),
|
||||||
reinterpret_cast<const char*>(sendBuf_.begin()),
|
reinterpret_cast<const char*>(sendBuf_.cdata()),
|
||||||
this->byteSize(),
|
sendBuf_.byteSize(),
|
||||||
procPatch_.tag(),
|
procPatch_.tag(),
|
||||||
procPatch_.comm()
|
procPatch_.comm()
|
||||||
);
|
);
|
||||||
@ -343,7 +343,7 @@ void Foam::processorFvPatchField<Type>::initInterfaceMatrixUpdate
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
procPatch_.neighbProcNo(),
|
procPatch_.neighbProcNo(),
|
||||||
reinterpret_cast<char*>(scalarReceiveBuf_.begin()),
|
reinterpret_cast<char*>(scalarReceiveBuf_.data()),
|
||||||
scalarReceiveBuf_.byteSize(),
|
scalarReceiveBuf_.byteSize(),
|
||||||
procPatch_.tag(),
|
procPatch_.tag(),
|
||||||
procPatch_.comm()
|
procPatch_.comm()
|
||||||
@ -354,7 +354,7 @@ void Foam::processorFvPatchField<Type>::initInterfaceMatrixUpdate
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
procPatch_.neighbProcNo(),
|
procPatch_.neighbProcNo(),
|
||||||
reinterpret_cast<const char*>(scalarSendBuf_.begin()),
|
reinterpret_cast<const char*>(scalarSendBuf_.cdata()),
|
||||||
scalarSendBuf_.byteSize(),
|
scalarSendBuf_.byteSize(),
|
||||||
procPatch_.tag(),
|
procPatch_.tag(),
|
||||||
procPatch_.comm()
|
procPatch_.comm()
|
||||||
@ -473,7 +473,7 @@ void Foam::processorFvPatchField<Type>::initInterfaceMatrixUpdate
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
procPatch_.neighbProcNo(),
|
procPatch_.neighbProcNo(),
|
||||||
reinterpret_cast<char*>(receiveBuf_.begin()),
|
reinterpret_cast<char*>(receiveBuf_.data()),
|
||||||
receiveBuf_.byteSize(),
|
receiveBuf_.byteSize(),
|
||||||
procPatch_.tag(),
|
procPatch_.tag(),
|
||||||
procPatch_.comm()
|
procPatch_.comm()
|
||||||
@ -484,7 +484,7 @@ void Foam::processorFvPatchField<Type>::initInterfaceMatrixUpdate
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
procPatch_.neighbProcNo(),
|
procPatch_.neighbProcNo(),
|
||||||
reinterpret_cast<const char*>(sendBuf_.begin()),
|
reinterpret_cast<const char*>(sendBuf_.cdata()),
|
||||||
sendBuf_.byteSize(),
|
sendBuf_.byteSize(),
|
||||||
procPatch_.tag(),
|
procPatch_.tag(),
|
||||||
procPatch_.comm()
|
procPatch_.comm()
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
\\ / A nd | www.openfoam.com
|
\\ / A nd | www.openfoam.com
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2019 OpenCFD Ltd.
|
Copyright (C) 2019-2020 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -113,7 +113,7 @@ void Foam::calculatedProcessorGAMGInterfaceField::initInterfaceMatrixUpdate
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
procInterface_.neighbProcNo(),
|
procInterface_.neighbProcNo(),
|
||||||
reinterpret_cast<char*>(scalarReceiveBuf_.begin()),
|
reinterpret_cast<char*>(scalarReceiveBuf_.data()),
|
||||||
scalarReceiveBuf_.byteSize(),
|
scalarReceiveBuf_.byteSize(),
|
||||||
procInterface_.tag(),
|
procInterface_.tag(),
|
||||||
comm()
|
comm()
|
||||||
@ -124,7 +124,7 @@ void Foam::calculatedProcessorGAMGInterfaceField::initInterfaceMatrixUpdate
|
|||||||
(
|
(
|
||||||
Pstream::commsTypes::nonBlocking,
|
Pstream::commsTypes::nonBlocking,
|
||||||
procInterface_.neighbProcNo(),
|
procInterface_.neighbProcNo(),
|
||||||
reinterpret_cast<const char*>(scalarSendBuf_.begin()),
|
reinterpret_cast<const char*>(scalarSendBuf_.cdata()),
|
||||||
scalarSendBuf_.byteSize(),
|
scalarSendBuf_.byteSize(),
|
||||||
procInterface_.tag(),
|
procInterface_.tag(),
|
||||||
comm()
|
comm()
|
||||||
|
|||||||
Reference in New Issue
Block a user