mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: add caching selector to PatchFunction1
- extend handling of uniform PatchFunction1 to include new Function1 types and pass through the objectRegistry information
This commit is contained in:
@ -26,6 +26,7 @@ License
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "SampleFunction1.H"
|
||||
#include "UniformValueField.H"
|
||||
#include "fieldTypes.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -40,7 +41,12 @@ namespace Foam
|
||||
makeFunction1s(sphericalTensor);
|
||||
makeFunction1s(symmTensor);
|
||||
makeFunction1s(tensor);
|
||||
|
||||
addUniformValueFieldFunction1s(sample, scalar);
|
||||
addUniformValueFieldFunction1s(sample, vector);
|
||||
addUniformValueFieldFunction1s(sample, sphericalTensor);
|
||||
addUniformValueFieldFunction1s(sample, symmTensor);
|
||||
addUniformValueFieldFunction1s(sample, tensor);
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user