mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
UniformDimensionedField: add operator[]
This commit is contained in:
@ -94,6 +94,11 @@ public:
|
||||
|
||||
void operator=(const UniformDimensionedField<Type>&);
|
||||
void operator=(const dimensioned<Type>&);
|
||||
|
||||
Type operator[](const label) const
|
||||
{
|
||||
return this->value();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user