mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Function1: Optimized field evaluations
This commit is contained in:
committed by
Andrew Heather
parent
2f431ffd3d
commit
3b6eb380d0
@ -66,13 +66,6 @@ Foam::Function1Types::Scale<Type>::~Scale()
|
||||
|
||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||
|
||||
template<class Type>
|
||||
Type Foam::Function1Types::Scale<Type>::value(const scalar t) const
|
||||
{
|
||||
return scale_->value(t)*value_->value(t);
|
||||
}
|
||||
|
||||
|
||||
template<class Type>
|
||||
void Foam::Function1Types::Scale<Type>::writeData(Ostream& os) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user