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>
|
template<class Type>
|
||||||
Foam::lduCalculatedProcessorField<Type>::lduCalculatedProcessorField
|
Foam::lduCalculatedProcessorField<Type>::lduCalculatedProcessorField
|
||||||
(
|
(
|
||||||
const lduInterface& interface,
|
const lduInterface& interface
|
||||||
const Field<Type>& iF
|
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
LduInterfaceField<Type>(interface),
|
LduInterfaceField<Type>(interface),
|
||||||
procInterface_(refCast<const lduPrimitiveProcessorInterface>(interface)),
|
procInterface_(refCast<const lduPrimitiveProcessorInterface>(interface)),
|
||||||
field_(iF),
|
|
||||||
sendBuf_(procInterface_.faceCells().size()),
|
sendBuf_(procInterface_.faceCells().size()),
|
||||||
receiveBuf_(procInterface_.faceCells().size()),
|
receiveBuf_(procInterface_.faceCells().size()),
|
||||||
scalarSendBuf_(procInterface_.faceCells().size()),
|
scalarSendBuf_(procInterface_.faceCells().size()),
|
||||||
@ -56,7 +54,6 @@ Foam::lduCalculatedProcessorField<Type>::lduCalculatedProcessorField
|
|||||||
:
|
:
|
||||||
LduInterfaceField<Type>(refCast<const lduInterface>(ptf)),
|
LduInterfaceField<Type>(refCast<const lduInterface>(ptf)),
|
||||||
procInterface_(ptf.procInterface_),
|
procInterface_(ptf.procInterface_),
|
||||||
field_(ptf.field_),
|
|
||||||
sendBuf_(procInterface_.faceCells().size()),
|
sendBuf_(procInterface_.faceCells().size()),
|
||||||
receiveBuf_(procInterface_.faceCells().size()),
|
receiveBuf_(procInterface_.faceCells().size()),
|
||||||
scalarSendBuf_(procInterface_.faceCells().size()),
|
scalarSendBuf_(procInterface_.faceCells().size()),
|
||||||
|
|||||||
@ -30,8 +30,7 @@ Group
|
|||||||
grpGenericBoundaryConditions
|
grpGenericBoundaryConditions
|
||||||
|
|
||||||
Description
|
Description
|
||||||
A lduProcessorField type bypassing coupledFvPatchField and holding
|
A lduProcessorField type bypassing coupledFvPatchField
|
||||||
a reference to the Field<Type>.
|
|
||||||
|
|
||||||
Used to add updateInterfaceMatrix capabilities to a lduMatrix
|
Used to add updateInterfaceMatrix capabilities to a lduMatrix
|
||||||
which is fully uncoupled from the fvMesh.
|
which is fully uncoupled from the fvMesh.
|
||||||
@ -72,8 +71,6 @@ protected:
|
|||||||
//- Local reference cast into the interface
|
//- Local reference cast into the interface
|
||||||
const lduPrimitiveProcessorInterface& procInterface_;
|
const lduPrimitiveProcessorInterface& procInterface_;
|
||||||
|
|
||||||
//- Local Field
|
|
||||||
const Field<Type>& field_;
|
|
||||||
|
|
||||||
// Sending and receiving
|
// Sending and receiving
|
||||||
|
|
||||||
@ -118,8 +115,8 @@ public:
|
|||||||
//- Construct from patch and internal field
|
//- Construct from patch and internal field
|
||||||
lduCalculatedProcessorField
|
lduCalculatedProcessorField
|
||||||
(
|
(
|
||||||
const lduInterface& interface,
|
const lduInterface& interface
|
||||||
const Field<Type>&
|
//const Field<Type>&
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct as copy
|
//- Construct as copy
|
||||||
|
|||||||
@ -894,8 +894,7 @@ void Foam::radiation::viewFactor::calculate()
|
|||||||
i,
|
i,
|
||||||
new lduCalculatedProcessorField<scalar>
|
new lduCalculatedProcessorField<scalar>
|
||||||
(
|
(
|
||||||
lduPtr_().interfaces()[i],
|
lduPtr_().interfaces()[i]
|
||||||
qrBandI_[bandI]
|
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user