Mix-in for source conditions that provides functions for evaluating Function1s at variable times. More...

Public Member Functions | |
| template<class Derived > | |
| Function1LagrangianFieldSource (const Derived &) | |
| Construct with reference to the derived field source. More... | |
| template<class Type > | |
| Foam::tmp< Foam::LagrangianSubField< Type > > | value (const LagrangianSubMesh &subMesh, const Function1< Type > &function) const |
| template<class OtherType > | |
| Foam::tmp< Foam::LagrangianSubField< OtherType > > | value (const LagrangianSubMesh &subMesh, const dimensionSet &dims, const Function1< OtherType > &function) |
Static Public Member Functions | |
| template<class OtherType > | |
| static tmp< LagrangianSubField< OtherType > > | value (const LagrangianSubMesh &subMesh, const dimensionSet &dims, const Function1< OtherType > &function) |
| Return the source value. More... | |
Protected Member Functions | |
| template<class Type > | |
| tmp< LagrangianSubField< Type > > | value (const LagrangianSubMesh &subMesh, const Function1< Type > &function) const |
| Return the source value. More... | |
Mix-in for source conditions that provides functions for evaluating Function1s at variable times.
Definition at line 55 of file Function1LagrangianFieldSource.H.
| Function1LagrangianFieldSource | ( | const Derived & | field | ) |
Construct with reference to the derived field source.
Definition at line 103 of file Function1LagrangianFieldSourceTemplates.C.
|
protected |
Return the source value.
Referenced by coneDiskDirectionLagrangianVectorFieldSource::direction(), coneDirectionLagrangianVectorFieldSource::direction(), fanDirectionLagrangianVectorFieldSource::direction(), totalPressureVelocityMagnitudeLagrangianScalarFieldSource::Umag(), and Function1LagrangianFieldSource::value().

|
static |
Return the source value.
| Foam::tmp<Foam::LagrangianSubField<Type> > value | ( | const LagrangianSubMesh & | subMesh, |
| const Function1< Type > & | function | ||
| ) | const |
Definition at line 33 of file Function1LagrangianFieldSourceTemplates.C.
References LagrangianFieldSourceBase::internalDimensions(), and Function1LagrangianFieldSource::value().

| Foam::tmp<Foam::LagrangianSubField<OtherType> > value | ( | const LagrangianSubMesh & | subMesh, |
| const dimensionSet & | dims, | ||
| const Function1< OtherType > & | function | ||
| ) |
Definition at line 47 of file Function1LagrangianFieldSourceTemplates.C.
References TimeState::deltaTValue(), LagrangianMesh::fractionName, LagrangianSubMesh::mesh(), DimensionedField< Type, GeoMesh, PrimitiveField >::New(), LagrangianSubMesh::sub(), objectRegistry::time(), and dimensioned< Type >::value().
