fvPatchFields: Use 'Zero' rather than 'pTraits<Type>::zero' to initialize to 0
This new approach to 0 initialization is simpler, cleaner, more readable and more efficient. The rest of the OpenFOAM code will be updated in due course.
Showing
- src/finiteVolume/fields/fvPatchFields/basic/fixedGradient/fixedGradientFvPatchField.C 2 additions, 2 deletions...tchFields/basic/fixedGradient/fixedGradientFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/basic/fixedValue/fixedValueFvPatchField.C 1 addition, 1 deletion...s/fvPatchFields/basic/fixedValue/fixedValueFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/basic/zeroGradient/zeroGradientFvPatchField.C 3 additions, 3 deletions...PatchFields/basic/zeroGradient/zeroGradientFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/basic/zeroGradient/zeroGradientFvPatchField.H 1 addition, 1 deletion...PatchFields/basic/zeroGradient/zeroGradientFvPatchField.H
- src/finiteVolume/fields/fvPatchFields/derived/advective/advectiveFvPatchField.C 5 additions, 5 deletions...s/fvPatchFields/derived/advective/advectiveFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/derived/cylindricalInletVelocity/cylindricalInletVelocityFvPatchVectorField.C 2 additions, 2 deletions...nletVelocity/cylindricalInletVelocityFvPatchVectorField.C
- src/finiteVolume/fields/fvPatchFields/derived/externalCoupledMixed/externalCoupledMixedFvPatchField.C 3 additions, 3 deletions...d/externalCoupledMixed/externalCoupledMixedFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/derived/fixedJump/fixedJumpFvPatchField.C 2 additions, 2 deletions...s/fvPatchFields/derived/fixedJump/fixedJumpFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/derived/fixedJumpAMI/fixedJumpAMIFvPatchField.C 3 additions, 3 deletions...tchFields/derived/fixedJumpAMI/fixedJumpAMIFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/derived/fixedNormalSlip/fixedNormalSlipFvPatchField.C 1 addition, 1 deletion...lds/derived/fixedNormalSlip/fixedNormalSlipFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/derived/inletOutlet/inletOutletFvPatchField.C 3 additions, 3 deletions...PatchFields/derived/inletOutlet/inletOutletFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/derived/inletOutletTotalTemperature/inletOutletTotalTemperatureFvPatchScalarField.C 4 additions, 4 deletions...mperature/inletOutletTotalTemperatureFvPatchScalarField.C
- src/finiteVolume/fields/fvPatchFields/derived/mappedField/mappedPatchFieldBase.C 2 additions, 2 deletions.../fvPatchFields/derived/mappedField/mappedPatchFieldBase.C
- src/finiteVolume/fields/fvPatchFields/derived/mappedFixedInternalValue/mappedFixedInternalValueFvPatchField.C 1 addition, 1 deletion...FixedInternalValue/mappedFixedInternalValueFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/derived/outletInlet/outletInletFvPatchField.C 2 additions, 2 deletions...PatchFields/derived/outletInlet/outletInletFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/AverageIOField.C 1 addition, 1 deletion...elds/derived/timeVaryingMappedFixedValue/AverageIOField.C
- src/finiteVolume/fields/fvPatchFields/derived/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchField.C 6 additions, 6 deletions...appedFixedValue/timeVaryingMappedFixedValueFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/derived/turbulentInlet/turbulentInletFvPatchField.C 1 addition, 1 deletion...ields/derived/turbulentInlet/turbulentInletFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/derived/uniformInletOutlet/uniformInletOutletFvPatchField.C 4 additions, 4 deletions...rived/uniformInletOutlet/uniformInletOutletFvPatchField.C
- src/finiteVolume/fields/fvPatchFields/fvPatchField/fvPatchField.C 2 additions, 2 deletions...teVolume/fields/fvPatchFields/fvPatchField/fvPatchField.C
Please register or sign in to comment