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

Summary

Takes two Any objects and compares them.Supported types: Field, FieldsContainer, Mesh, MeshesContainer, PropertyField, PropertyFieldsContainer, Scoping, ScopingsContainer, StringField, standard 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: anyA (object), anyB (object), double_value (double), double_tolerance (double) (optional), compare_auxiliary (bool) available outputs: included (bool), message (string)

Example

Class Information

Inputs

anyA

Type: LinkableInput

anyB

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:
  • anyA (object)
  • anyB (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