DimensionedField, GeometricField: Consistent field-access interface
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -125,7 +125,7 @@ Foam::fvFieldDecomposer::decomposeVolInternalField
|
||||
),
|
||||
procMeshes_[proci],
|
||||
field.dimensions(),
|
||||
Field<Type>(field.field(), cellProcAddressing_[proci])
|
||||
Field<Type>(field.primitiveField(), cellProcAddressing_[proci])
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -120,7 +120,7 @@ Foam::fvFieldReconstructor::reconstructVolInternalField
|
||||
// Set the cell values in the reconstructed field
|
||||
internalField.rmap
|
||||
(
|
||||
procField.field(),
|
||||
procField.primitiveField(),
|
||||
cellProcAddressing_[proci]
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user