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

Summary

Takes two meshes and compares them. Note: When comparing mesh properties, the current behaviour is to verify that the properties in the first mesh (pin 0) are included in the second mesh (pin 1). available inputs: meshA (MeshedRegion), meshB (MeshedRegion), small_value (double) (optional), tolerance (double) (optional), compare_auxiliary (bool) available outputs: are_identical (bool)

Example

Class Information

Inputs

meshA

Type: LinkableInput

meshB

Type: LinkableInput

small_value

define what is a small value for numeric comparison (default value:1.0e-14). Type: LinkableInput

tolerance

define the relative tolerance ceil for numeric comparison (default is 0.001). Type: LinkableInput

compare_auxiliary

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

Outputs

are_identical

Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • meshA (object)
  • meshB (object)
  • small_value (object)
  • tolerance (object)
  • compare_auxiliary (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config