Skip to main content
Namespace: Ans.DataProcessing.operators.logic

Summary

Takes two generic data containers and compares them. Supported types: Field, FieldsContainer, Mesh, MeshesContainer, PropertyField, PropertyFieldsContainer, Scoping, ScopingsContainer, StringFieldstandard types (double, int, string, vector of int, doubles, string)Note: all inputs related to fields, mesh, and so on are passed to each property check. available inputs: generic_data_containerA (GenericDataContainer), generic_data_containerB (GenericDataContainer), double_value (double), double_tolerance (double) (optional), compare_auxiliary (bool) available outputs: included (bool), message (string)

Example

Class Information

Inputs

generic_data_containerA

Type: LinkableInput

generic_data_containerB

Type: LinkableInput

double_value

Double positive small value. Smallest value considered during the comparison step. All the absolute values in the field less than this value are considered null, (default value: 1.0e-14). Type: LinkableInput

double_tolerance

Type: LinkableInput

compare_auxiliary

For meshes and meshescontainer: compare auxiliary data (i.e property fields, scopings…). Default value is ‘false’. Type: LinkableInput

Outputs

included

bool (true if belongs…) Type: LinkableOutput

message

Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • generic_data_containerA (object)
  • generic_data_containerB (object)
  • double_value (object)
  • double_tolerance (object)
  • compare_auxiliary (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config