svFSIplus
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
RemesherParameters Class Reference

The RemesherParameters class stores parameters for the 'Remesher' XML element used for remeshing. More...

#include <Parameters.h>

Inheritance diagram for RemesherParameters:
[legend]

Public Member Functions

bool defined () const
 
void print_parameters ()
 
double get_edge_size (const std::string &name) const
 
bool has_edge_size (const std::string &name) const
 
void set_values (tinyxml2::XMLElement *mesh_elem)
 
- Public Member Functions inherited from ParameterLists
void set_xml_element_name (const std::string &name)
 
void set_parameter (const std::string &name, const bool value, bool required, Parameter< bool > &param)
 Set the name, default value and the parameter required flag. More...
 
void set_parameter (const std::string &name, const double value, bool required, Parameter< double > &param)
 
void set_parameter (const std::string &name, std::initializer_list< double > value, bool required, VectorParameter< double > &param)
 
void set_parameter (const std::string &name, std::initializer_list< int > value, bool required, VectorParameter< int > &param)
 
void set_parameter (const std::string &name, std::initializer_list< std::string > value, bool required, VectorParameter< std::string > &param)
 
void set_parameter (const std::string &name, const int value, bool required, Parameter< int > &param, std::vector< int > range={})
 
void set_parameter (const std::string &name, const std::string &value, bool required, Parameter< std::string > &param)
 
void set_parameter_value (const std::string &name, const std::string &value)
 Set the value of a paramter from a string. More...
 
void check_required ()
 Check if any required parameters have not been set. More...
 
std::map< std::string, std::string > get_parameter_list ()
 Get the defined parameters as a map of strings. More...
 
void print_parameter_list ()
 Print the parameters. More...
 

Public Attributes

bool values_set_ = false
 
std::map< std::string, double > max_edge_sizes_
 
Parameter< std::string > type
 
Parameter< double > min_dihedral_angle
 
Parameter< double > max_radius_ratio
 
Parameter< int > remesh_frequency
 
Parameter< int > frequency_for_copying_data
 
- Public Attributes inherited from ParameterLists
std::map< std::string, std::variant< Parameter< bool > *, Parameter< double > *, Parameter< int > *, Parameter< std::string > *, VectorParameter< double > *, VectorParameter< int > *, VectorParameter< std::string > * > > params_map
 Map used for storing parameters by name / Parameter template union. More...
 
std::string xml_element_name = ""
 

Static Public Attributes

static const std::string xml_element_name_ = "Remesher"
 Define the XML element name for mesh parameters. More...
 

Detailed Description

The RemesherParameters class stores parameters for the 'Remesher' XML element used for remeshing.

<Remesher type="Tetgen" >
<Max_edge_size name="lumen" value="0.7"> </Max_edge_size>
<Max_edge_size name="wall" value="0.5"> </Max_edge_size>
<Min_dihedral_angle> 10.0 </Min_dihedral_angle>
<Max_radius_ratio> 1.1 </Max_radius_ratio>
<Remesh_frequency> 1000 </Remesh_frequency>
<Frequency_for_copying_data> 1 </Frequency_for_copying_data>
</Remesher>

Member Data Documentation

◆ xml_element_name_

const std::string RemesherParameters::xml_element_name_ = "Remesher"
static

Define the XML element name for mesh parameters.


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