Octopus
kmeans_clustering.F90 File Reference

Go to the source code of this file.

Modules

module  kmeans_clustering_oct_m
 

Functions/Subroutines

subroutine, public kmeans_clustering_oct_m::assign_points_to_centroids_finite_bc (mesh, centroids, ip_to_ic)
 Assign each grid point to the closest centroid. A centroid and its set of nearest grid points defines a cluster. More...
 
subroutine, public kmeans_clustering_oct_m::update_centroids (mesh, weight, ip_to_ic, centroids)
 Compute a new set of centroids. More...
 
subroutine kmeans_clustering_oct_m::compute_grid_difference (points, updated_points, tol, points_differ)
 Compute the difference in two grids as \(abs(\mathbf{g}_1 - \mathbf{g}_2)\). More...
 
subroutine kmeans_clustering_oct_m::report_differences_in_grids (points, updated_points, tol, points_differ)
 Report differences returned from compute_grid_difference. More...
 
subroutine, public kmeans_clustering_oct_m::weighted_kmeans (space, mesh, weight, centroids, n_iter, centroid_tol, discretize)
 Weighted K-means clustering. More...