mesh
#
- class ansys.dpf.core.operators.utility.mesh.mesh(input=None, config=None, server=None)#
Bases:
ansys.dpf.core.dpf_operator.Operator
Incrementaly merge the input.
- Parameters:
input (MeshedRegion)
- Return type:
incremented_result
Examples
>>> from ansys.dpf import core as dpf
>>> # Instantiate operator >>> op = dpf.operators.utility.mesh()
>>> # Make input connections >>> my_input = dpf.MeshedRegion() >>> op.inputs.input.connect(my_input)
>>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.utility.mesh( ... input=my_input, ... )
>>> # Get output data >>> result_incremented_result = op.outputs.incremented_result()
Overview#
Returns the default config of the operator. |
Import detail#
from ansys.dpf.core.operators.utility.mesh import mesh
Property detail#
- property mesh.inputs#
Enables to connect inputs to the operator
- Returns:
inputs
- Return type:
- property mesh.outputs#
Enables to get outputs of the operator by evaluating it
- Returns:
outputs
- Return type:
Method detail#
- static mesh.default_config(server=None)#
Returns the default config of the operator.
This config can then be changed to the user needs and be used to instantiate the operator. The Configuration allows to customize how the operation will be processed by the operator.
- Parameters:
server (server.DPFServer, optional) – Server with channel connected to the remote or local instance. When
None
, attempts to use the global server.