mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: DimensionedField - register new field if it does not have the same name as the copy - see #1348
This commit is contained in:
committed by
Andrew Heather
parent
7e935bd191
commit
7d7a3a78a8
@ -299,7 +299,7 @@ Foam::DimensionedField<Type, GeoMesh>::DimensionedField
|
||||
const DimensionedField<Type, GeoMesh>& df
|
||||
)
|
||||
:
|
||||
regIOobject(newName, df, newName == df.name()),
|
||||
regIOobject(newName, df, newName != df.name()),
|
||||
Field<Type>(df),
|
||||
mesh_(df.mesh_),
|
||||
dimensions_(df.dimensions_),
|
||||
|
||||
Reference in New Issue
Block a user