ElementInfoProvider#
- class ansys.dpf.composites.layup_info.ElementInfoProvider(mesh, layer_indices, element_types_apdl, element_types_dpf, keyopt_8_values, keyopt_3_values, material_ids, solver_material_ids=None, no_bounds_checks=False)#
Provider for
ElementInfo
.Use
get_element_info_provider()
to createElementInfoProvider
objects.Initialize the class before a loop and call
get_element_info()
for each element.Note that the
ElementInfoProvider
class is not fully supported for distributed RST files. Theget_element_info()
method will raise an exception if the DPF server version does not support reading the required information.- Parameters:
mesh (
MeshedRegion
)layer_indices (
PropertyField
)element_types_apdl (
PropertyField
)element_types_dpf (
PropertyField
)keyopt_8_values (
PropertyField
)keyopt_3_values (
PropertyField
)material_ids (
PropertyField
)no_bounds_checks (
bool
, default:False
) – Disable bounds checks. Results in better performance but potentially cryptic error messages
Methods
ElementInfoProvider.get_element_info
(element_id)Get
ElementInfo
for a given element id.