mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Corrected setting of values for ExplicitSetValue fieldSource (constraint)
This commit is contained in:
@ -81,9 +81,7 @@ void Foam::ExplicitSetValue<Type>::setValue
|
||||
<< ">::setValue for source " << name_ << endl;
|
||||
}
|
||||
|
||||
List<Type> values(cells_.size());
|
||||
|
||||
UIndirectList<Type>(values, cells_) = injectionRate_[fieldI];
|
||||
List<Type> values(cells_.size(), injectionRate_[fieldI]);
|
||||
|
||||
eqn.setValues(cells_, values);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user