4#ifndef lethe_cls_subequations_h
5#define lethe_cls_subequations_h
32 if (cls_subequation_name ==
"CLS phase gradient L2 projection")
34 else if (cls_subequation_name ==
"CLS curvature L2 projection")
36 else if (cls_subequation_name ==
"CLS PDE-based interface reinitialization")
39 throw(std::invalid_argument(
"Invalid CLS subequation name. Options are: \n"
40 " <CLS phase gradient L2 projection>\n"
41 " <CLS curvature L2 projection>\n"
42 " <CLS PDE-based interface reinitialization>"));
CLSSubequationsID get_cls_subequation_id(const std::string &cls_subequation_name)
Get the CLSSubequationsID associated to a specific CLS subequation from a string.
CLSSubequationsID
IDs associated to the different subequations solved in Lethe.
@ curvature_projection
CLS curvature L2 projection.
@ pde_based_interface_reinitialization
CLS PDE-based interface reinitialization.
@ phase_gradient_projection
CLS phase indicator gradient L2 projection.