Skip to main content

logic:same anys?

Version: 0.0.0

Description

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.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
anyAany
Pin 1
Required
anyBany
Pin 2
Required
double_valuedoubleDouble 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).
Pin 3double_tolerancedoubleDouble relative tolerance. Maximum tolerance gap between two compared values. Values within relative tolerance are considered identical. Formula is (v1-v2)/v2 < relativeTol. Default is 0.001.
Pin 4
Required
compare_auxiliaryboolFor meshes and meshescontainer: compare auxiliary data (i.e property fields, scopings...). Default value is 'false'.

Outputs

OutputNameExpected type(s)Description
Pin 0includedboolbool (true if belongs...)
Pin 1messagestring

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: logic

Plugin: core

Scripting name: identical_anys

Full name: logic.identical_anys

Internal name: compare::any

License: None

Changelog

  • Version 0.0.0: Initial release.