mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STY: Deleting unused reference to Field in lduCalculatedProcessorField
This commit is contained in:
@ -32,13 +32,11 @@ License
|
||||
template<class Type>
|
||||
Foam::lduCalculatedProcessorField<Type>::lduCalculatedProcessorField
|
||||
(
|
||||
const lduInterface& interface,
|
||||
const Field<Type>& iF
|
||||
const lduInterface& interface
|
||||
)
|
||||
:
|
||||
LduInterfaceField<Type>(interface),
|
||||
procInterface_(refCast<const lduPrimitiveProcessorInterface>(interface)),
|
||||
field_(iF),
|
||||
sendBuf_(procInterface_.faceCells().size()),
|
||||
receiveBuf_(procInterface_.faceCells().size()),
|
||||
scalarSendBuf_(procInterface_.faceCells().size()),
|
||||
@ -56,7 +54,6 @@ Foam::lduCalculatedProcessorField<Type>::lduCalculatedProcessorField
|
||||
:
|
||||
LduInterfaceField<Type>(refCast<const lduInterface>(ptf)),
|
||||
procInterface_(ptf.procInterface_),
|
||||
field_(ptf.field_),
|
||||
sendBuf_(procInterface_.faceCells().size()),
|
||||
receiveBuf_(procInterface_.faceCells().size()),
|
||||
scalarSendBuf_(procInterface_.faceCells().size()),
|
||||
|
||||
@ -30,8 +30,7 @@ Group
|
||||
grpGenericBoundaryConditions
|
||||
|
||||
Description
|
||||
A lduProcessorField type bypassing coupledFvPatchField and holding
|
||||
a reference to the Field<Type>.
|
||||
A lduProcessorField type bypassing coupledFvPatchField
|
||||
|
||||
Used to add updateInterfaceMatrix capabilities to a lduMatrix
|
||||
which is fully uncoupled from the fvMesh.
|
||||
@ -72,8 +71,6 @@ protected:
|
||||
//- Local reference cast into the interface
|
||||
const lduPrimitiveProcessorInterface& procInterface_;
|
||||
|
||||
//- Local Field
|
||||
const Field<Type>& field_;
|
||||
|
||||
// Sending and receiving
|
||||
|
||||
@ -118,8 +115,8 @@ public:
|
||||
//- Construct from patch and internal field
|
||||
lduCalculatedProcessorField
|
||||
(
|
||||
const lduInterface& interface,
|
||||
const Field<Type>&
|
||||
const lduInterface& interface
|
||||
//const Field<Type>&
|
||||
);
|
||||
|
||||
//- Construct as copy
|
||||
|
||||
@ -894,8 +894,7 @@ void Foam::radiation::viewFactor::calculate()
|
||||
i,
|
||||
new lduCalculatedProcessorField<scalar>
|
||||
(
|
||||
lduPtr_().interfaces()[i],
|
||||
qrBandI_[bandI]
|
||||
lduPtr_().interfaces()[i]
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user