diff --git a/include/CoMMA/Args.h b/include/CoMMA/Args.h index 299cbaa..f6fbb1d 100644 --- a/include/CoMMA/Args.h +++ b/include/CoMMA/Args.h @@ -196,29 +196,29 @@ class AnisotropicArgs { /** @brief Constructor * @param[in] is_anisotropic Whether to consider an anisotropic agglomeration. * @param[in] anisotropicCompliantCells List of cells which have to be looked - * for anisotropy + * for anisotropy. * @param[in] build_lines Whether lines joining the anisotropic cells should - * be built. + * be built. Default: true. * @param[in] odd_line_length Whether anisotropic lines with odd length are - * allowed. + * allowed. Default: true. * @param[in] threshold_anisotropy Value of the aspect-ratio above which a - * cell is considered as anisotropic. - * @param[in] max_cells_in_line [Optional] Maximum number of cells in an - * anisotropic line. + * cell is considered as anisotropic. Default: 4.0 + * @param[in] max_cells_in_line Maximum number of cells in an anisotropic + * line. Default: no limit. */ AnisotropicArgs( bool is_anisotropic, const std::vector &anisotropicCompliantCells, - std::optional build_lines = std::nullopt, - std::optional odd_line_length = std::nullopt, - std::optional threshold_anisotropy = std::nullopt, + bool build_lines = true, + bool odd_line_length = true, + CoMMAWeightType threshold_anisotropy = 4., std::optional max_cells_in_line = std::nullopt ) : is_anisotropic(is_anisotropic), anisotropicCompliantCells(anisotropicCompliantCells), - build_lines(build_lines.value_or(true)), - odd_line_length(odd_line_length.value_or(true)), - threshold_anisotropy(threshold_anisotropy.value_or(4.)), + build_lines(build_lines), + odd_line_length(odd_line_length), + threshold_anisotropy(threshold_anisotropy), max_cells_in_line(max_cells_in_line) {} };