Evaluate spatial discontinuities along a given dimension.
The spatial dimensions are cycled according to the code provided in
dim_loops. The dimension where the spatial discontinuities are
evaluated is always the first dimension specified in this code (assumed
dimension i), while the others cycle the remainder dimensions (assumed
dimensions j and k). During this process, both the list of target
clusters and the dictionary containing associated data are updated.
Parameters:
adapt_data_matrix (numpy.ndarray (2d)) – Adaptivity feature data matrix (numpy.ndarray of shape
(adapt_phase_n_clusters, 2)) that, for the i-th cluster of the
adaptive material phase, contains the cluster label in
adapt_data_matrix[i, 0] and the associated adaptive feature value
in adapt_data_matrix[i, 1].
voxels_clusters (numpy.ndarray (2d or 3d)) – Regular grid of voxels (spatial discretization of the RVE), where
each entry contains the cluster label (int) assigned to the
corresponding voxel.
target_clusters (list[int]) – List containing the labels (int) of clusters to be adapted.
target_clusters_data (dict) – For each target cluster (key, str), store dictionary (item, dict)
containing cluster associated parameters required for the adaptive
procedures.
dim_loops (str) – Ordered specification of dimension cycles, being the spatial
discontinuities evaluated along dimension dim_loops[0].
adapt_data_matrix (numpy.ndarray (2d)) – Adaptivity feature data matrix (numpy.ndarray of shape
(adapt_phase_n_clusters, 2)) that, for the i-th cluster of the
adaptive material phase, contains the cluster label in
adapt_data_matrix[i, 0] and the associated adaptive feature value
in adapt_data_matrix[i, 1].
voxels_clusters (numpy.ndarray (2d or 3d)) – Regular grid of voxels (spatial discretization of the RVE), where
each entry contains the cluster label (int) assigned to the
corresponding voxel.
Returns:
target_clusters (list[int]) – List containing the labels (int) of clusters to be adapted.
target_clusters_data (dict) – For each target cluster (key, str), store dictionary (item, dict)
containing cluster associated parameters required for the adaptive
procedures.
Update clusters adaptive level after adaptive procedures.
Parameters:
adaptive_clustering_map (dict) – List of new cluster labels (item, list[int]) resulting from the
adaptive procedures over each target cluster (key, str).