mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
@ -5,6 +5,6 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
wmake $targetType pdrFields
|
||||
wmake PDRsetFields
|
||||
wmake $targetType PDRsetFields
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -69,13 +69,12 @@ Foam::implicitFunctions::cylinderImplicitFunction::cylinderImplicitFunction
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
cylinderImplicitFunction
|
||||
(
|
||||
dict.get<point>("origin"),
|
||||
dict.get<scalar>("radius"),
|
||||
dict.getOrDefault<scalar>("scale", 1),
|
||||
dict.get<vector>("direction")
|
||||
)
|
||||
// __INTEL_COMPILER bug with inheriting constructors?? (issue #1821)
|
||||
origin_(dict.get<point>("origin")),
|
||||
radius_(dict.get<scalar>("radius")),
|
||||
scale_(dict.getOrDefault<scalar>("scale", 1)),
|
||||
direction_(dict.get<vector>("direction").normalise()),
|
||||
project_(tensor::I - direction_*direction_) // outer product
|
||||
{}
|
||||
|
||||
|
||||
|
||||
@ -72,15 +72,13 @@ Foam::implicitFunctions::sinImplicitFunction::sinImplicitFunction
|
||||
const dictionary& dict
|
||||
)
|
||||
:
|
||||
sinImplicitFunction
|
||||
(
|
||||
dict.get<scalar>("period"),
|
||||
dict.getOrDefault<scalar>("phase", 0),
|
||||
dict.get<scalar>("amplitude"),
|
||||
dict.get<vector>("direction"),
|
||||
dict.get<vector>("up"),
|
||||
dict.get<vector>("origin")
|
||||
)
|
||||
// __INTEL_COMPILER bug with inheriting constructors?? (issue #1821)
|
||||
period_(dict.get<scalar>("period")),
|
||||
phase_(dict.getOrDefault<scalar>("phase", 0)),
|
||||
amplitude_(dict.get<scalar>("amplitude")),
|
||||
up_(dict.get<vector>("up").normalise()),
|
||||
direction_(dict.get<vector>("direction").normalise()),
|
||||
origin_(dict.get<vector>("origin"))
|
||||
{}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user