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
|
Description
|
||||||
Calculates the flux of a field. The operation is limited to
|
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
|
See also
|
||||||
Foam::functionObjects::fieldExpression
|
Foam::functionObjects::fieldExpression
|
||||||
@ -53,7 +54,7 @@ namespace functionObjects
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class flux Declaration
|
Class flux Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
class flux
|
class flux
|
||||||
|
|||||||
@ -31,7 +31,6 @@ License
|
|||||||
template<class FieldType, class RhoFieldType>
|
template<class FieldType, class RhoFieldType>
|
||||||
bool Foam::functionObjects::flux::calcVolFlux(const RhoFieldType& rho)
|
bool Foam::functionObjects::flux::calcVolFlux(const RhoFieldType& rho)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (foundObject<FieldType>(fieldName_, false))
|
if (foundObject<FieldType>(fieldName_, false))
|
||||||
{
|
{
|
||||||
return store
|
return store
|
||||||
@ -50,7 +49,6 @@ bool Foam::functionObjects::flux::calcVolFlux(const RhoFieldType& rho)
|
|||||||
template<class FieldType, class RhoFieldType>
|
template<class FieldType, class RhoFieldType>
|
||||||
bool Foam::functionObjects::flux::calcSurFlux(const RhoFieldType& rho)
|
bool Foam::functionObjects::flux::calcSurFlux(const RhoFieldType& rho)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (foundObject<FieldType>(fieldName_, false))
|
if (foundObject<FieldType>(fieldName_, false))
|
||||||
{
|
{
|
||||||
return store
|
return store
|
||||||
@ -67,4 +65,6 @@ bool Foam::functionObjects::flux::calcSurFlux(const RhoFieldType& rho)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
Reference in New Issue
Block a user