Skip to main content

utility:clone field to shell layer

Version: 0.0.0

Description

Generates a Field from the Field in input 0 that has the same FieldDefinition with the exception of the shellLayers enum that is specified in input 1. The DataPointer is recomputed to the appropriate value. The Data of the output Field is 0.0 for all entities. Scoping can be shared or not based on the optional pin 2.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
fieldfield
Pin 1
Required
shell_layerint32, enum dataProcessing::EShellLayers0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.
Pin 2duplicate_scopingboolIf true, a new scoping is computed for the output Field. If false, the input Field scoping is used. Default is false.

Outputs

OutputNameExpected type(s)Description
Pin 0fieldfield

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

Scripting

Category: utility

Plugin: core

Scripting name: field_clone_to_shell_layer

Full name: utility.field_clone_to_shell_layer

Internal name: field::clone_to_shell_layer

License: None

Changelog

  • Version 0.0.0: Initial release.