svMultiPhysics
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MeshParameters Class Reference

The MeshParameters class is used to store paramaters for the 'Add_mesh' XML element. More...

#include <Parameters.h>

Inheritance diagram for MeshParameters:
[legend]

Public Member Functions

void print_parameters ()
 
void set_values (tinyxml2::XMLElement *mesh_elem)
 
std::string get_name () const
 
std::string get_path () const
 
- 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

std::vector< FaceParameters * > face_parameters
 
Parameter< std::string > name
 
Parameter< int > domain_id
 
Parameter< std::string > domain_file_path
 
VectorParameter< std::string > fiber_direction_file_paths
 
std::vector< VectorParameter< double > > fiber_directions
 
Parameter< std::string > initial_displacements_file_path
 
Parameter< std::string > initial_pressures_file_path
 
Parameter< bool > initialize_rcr_from_flow
 
Parameter< std::string > initial_velocities_file_path
 
Parameter< std::string > mesh_file_path
 
Parameter< double > mesh_scale_factor
 
Parameter< std::string > prestress_file_path
 
Parameter< bool > set_mesh_as_fibers
 
Parameter< bool > set_mesh_as_shell
 
Parameter< double > quadrature_modifier_TET4
 
- 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_ = "Add_mesh"
 Define the XML element name for mesh parameters. More...
 

Detailed Description

The MeshParameters class is used to store paramaters for the 'Add_mesh' XML element.

<Add_mesh name="lumen" >
<Mesh_file_path> mesh/lumen/mesh-complete.mesh.vtu </Mesh_file_path>
<Add_face name="lumen_inlet">
<Face_file_path> mesh/lumen/mesh-surfaces/lumen_inlet.vtp </Face_file_path>
</Add_face>
<Add_face name="lumen_outlet">
<Face_file_path> mesh/lumen/mesh-surfaces/lumen_outlet.vtp </Face_file_path>
</Add_face>
<Add_face name="lumen_wall">
<Face_file_path> mesh/lumen/mesh-surfaces/lumen_wall.vtp </Face_file_path>
</Add_face>
<Domain> 0 </Domain>
</Add_mesh>

Member Data Documentation

◆ xml_element_name_

const std::string MeshParameters::xml_element_name_ = "Add_mesh"
static

Define the XML element name for mesh parameters.


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