mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: Minor code formatting
This commit is contained in:
@ -29,7 +29,8 @@ Group
|
||||
|
||||
Description
|
||||
Calculates the flux of a field. The operation is limited to
|
||||
surfaceVectorFields and volVectorFields, and the output is a surfaceScalarField.
|
||||
surfaceVectorFields and volVectorFields, and the output is a
|
||||
surfaceScalarField.
|
||||
|
||||
See also
|
||||
Foam::functionObjects::fieldExpression
|
||||
@ -53,7 +54,7 @@ namespace functionObjects
|
||||
{
|
||||
|
||||
/*---------------------------------------------------------------------------*\
|
||||
Class flux Declaration
|
||||
Class flux Declaration
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
class flux
|
||||
|
||||
@ -31,7 +31,6 @@ License
|
||||
template<class FieldType, class RhoFieldType>
|
||||
bool Foam::functionObjects::flux::calcVolFlux(const RhoFieldType& rho)
|
||||
{
|
||||
|
||||
if (foundObject<FieldType>(fieldName_, false))
|
||||
{
|
||||
return store
|
||||
@ -50,7 +49,6 @@ bool Foam::functionObjects::flux::calcVolFlux(const RhoFieldType& rho)
|
||||
template<class FieldType, class RhoFieldType>
|
||||
bool Foam::functionObjects::flux::calcSurFlux(const RhoFieldType& rho)
|
||||
{
|
||||
|
||||
if (foundObject<FieldType>(fieldName_, false))
|
||||
{
|
||||
return store
|
||||
@ -67,4 +65,6 @@ bool Foam::functionObjects::flux::calcSurFlux(const RhoFieldType& rho)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user