Update GhostCellRemove filter to use the default ghost cell field
MR !2776 (merged) added the ability to register a particular field of a DataSet
as the ghost cells. There is a default name for the ghost cell array, but the DataSet
may choose a different field name for itself.
The GhostCellRemove
filter does not do a good job of finding ghost cell arrays that are not the default value. It will not find the correct array unless the calling code explicitly gives the name of the correct field.
The GhostCellRemove
filter should automatically find ghost cell array regardless of the name by default. It should have an option named something like UseGhostCellsAsField
, defaulted to true
, that instructs the filter to get the field using GetGhostCellField()
. If this is set to false
, then it gets the field using the normal active field selection