Wildmeshing Toolkit
wmtk::components::procedural::GridOptions Class Reference

#include <GridOptions.hpp>

Public Member Functions

std::optional< std::string > get_coordinate_name () const
 

Public Attributes

std::variant< Grid2Options, Grid3Optionsopts
 

Static Private Member Functions

constexpr static auto name () -> std::string_view
 

Friends

void to_json (nlohmann::json &nlohmann_json_j, const GridOptions &nlohmann_json_t)
 
void from_json (const nlohmann::json &nlohmann_json_j, GridOptions &nlohmann_json_t)
 

Detailed Description

Definition at line 10 of file GridOptions.hpp.

Member Function Documentation

◆ get_coordinate_name()

std::optional<std::string> wmtk::components::procedural::GridOptions::get_coordinate_name ( ) const
inline

Definition at line 16 of file GridOptions.hpp.

References opts.

◆ name()

constexpr static auto wmtk::components::procedural::GridOptions::name ( ) -> std::string_view
inlinestaticconstexprprivate

Definition at line 12 of file GridOptions.hpp.

Friends And Related Function Documentation

◆ from_json

void from_json ( const nlohmann::json nlohmann_json_j,
GridOptions nlohmann_json_t 
)
friend

Definition at line 24 of file GridOptions.hpp.

◆ to_json

void to_json ( nlohmann::json nlohmann_json_j,
const GridOptions nlohmann_json_t 
)
friend

Definition at line 20 of file GridOptions.hpp.

Member Data Documentation

◆ opts

std::variant<Grid2Options, Grid3Options> wmtk::components::procedural::GridOptions::opts

Definition at line 15 of file GridOptions.hpp.

Referenced by get_coordinate_name(), and wmtk::components::procedural::make_mesh().


The documentation for this class was generated from the following file: