Skip to main content

DPF Mechanical 2026 R1

identical_generic_data_containers class

Last update: 18.06.2026

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

op = identical_generic_data_containers()

op = identical_generic_data_containers(generic_data_containerA=my_generic_data_containerA,generic_data_containerB=my_generic_data_containerB,double_value=my_double_value,double_tolerance=my_double_tolerance,compare_auxiliary=my_compare_auxiliary)

Class Information

Property Value
Namespace Ans.DataProcessing.operators.logic
Assembly Ans_Dpf_Native_dll_cs
Base Class Ans.DataProcessing.internal_objects.BaseOperator

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

identical_generic_data_containers()

Constructor

identical_generic_data_containers(generic_data_containerA, generic_data_containerB, double_value, double_tolerance, compare_auxiliary, config)

Parameters:

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

Constructor

identical_generic_data_containers(config)

Parameters:

  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

# Get or set the property
value = obj.inputs
obj.inputs = new_value

outputs

Type: OutputSpec

# Get or set the property
value = obj.outputs
obj.outputs = new_value

defaultConfig

Type: Config

# Get the property (read-only)
value = obj.defaultConfig

Connect with Ansys