![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <parameters.h>
Public Types | |
| enum class | InterfaceType : std::int8_t { circular , linear } |
Public Member Functions | |
| void | declare_parameters (ParameterHandler &prm) |
| void | parse_parameters (ParameterHandler &prm) |
Public Attributes | |
| bool | enable = false |
| enum Parameters::Mortar::InterfaceType | interface_type = InterfaceType::circular |
| std::shared_ptr< Mesh< dim > > | rotor_mesh |
| unsigned int | rotor_boundary_id = 1 |
| unsigned int | stator_boundary_id = 2 |
| Point< dim > | center_of_rotation |
| unsigned int | rotation_axis_direction = 2 |
| std::shared_ptr< Functions::ParsedFunction< dim > > | rotor_rotation_angle |
| std::shared_ptr< Functions::ParsedFunction< dim > > | rotor_angular_velocity |
| double | sip_factor = 1. |
| unsigned int | oversampling_factor = 1 |
| double | radius_tolerance = 1e-8 |
| unsigned int | cell_weight = 1000 |
| Verbosity | verbosity = Verbosity::quiet |
Mortar - Defines parameters used to construct mortar elements.
Definition at line 2590 of file parameters.h.
|
strong |
| void Parameters::Mortar< dim >::declare_parameters | ( | ParameterHandler & | prm | ) |
Declare the default parameters.
| [in,out] | prm | ParameterHandler object. |
Definition at line 5164 of file parameters.cc.
References cell_weight, center_of_rotation, declare_enum_entry(), Parameters::deprecated_verbosity_names(), enable, interface_type, oversampling_factor, radius_tolerance, rotation_axis_direction, rotor_angular_velocity, rotor_boundary_id, rotor_mesh, rotor_rotation_angle, sip_factor, stator_boundary_id, and verbosity.
| void Parameters::Mortar< dim >::parse_parameters | ( | ParameterHandler & | prm | ) |
Parse the parameters.
| [in] | prm | ParameterHandler object. |
Definition at line 5242 of file parameters.cc.
References cell_weight, center_of_rotation, Parameters::deprecated_verbosity_names(), enable, interface_type, oversampling_factor, radius_tolerance, rotation_axis_direction, rotor_angular_velocity, rotor_boundary_id, rotor_mesh, rotor_rotation_angle, sip_factor, stator_boundary_id, string_to_enum(), value_string_to_tensor(), and verbosity.
| unsigned int Parameters::Mortar< dim >::cell_weight = 1000 |
Cell weight for load balancing of cells with mortar interfaces.
Definition at line 2621 of file parameters.h.
| Point<dim> Parameters::Mortar< dim >::center_of_rotation |
Center of rotation of the rotor domain.
Definition at line 2607 of file parameters.h.
| bool Parameters::Mortar< dim >::enable = false |
Indicates whether mortar elements are enabled.
Definition at line 2593 of file parameters.h.
| enum Parameters::Mortar::InterfaceType Parameters::Mortar< dim >::interface_type = InterfaceType::circular |
| unsigned int Parameters::Mortar< dim >::oversampling_factor = 1 |
Oversampling factor for quadrature points.
Definition at line 2617 of file parameters.h.
| double Parameters::Mortar< dim >::radius_tolerance = 1e-8 |
Tolerance used for rotor-stator interface radius computation.
Definition at line 2619 of file parameters.h.
| unsigned int Parameters::Mortar< dim >::rotation_axis_direction = 2 |
Rotation axis direction.
Definition at line 2609 of file parameters.h.
| std::shared_ptr<Functions::ParsedFunction<dim> > Parameters::Mortar< dim >::rotor_angular_velocity |
Angular velocity of the rotor domain.
Definition at line 2613 of file parameters.h.
| unsigned int Parameters::Mortar< dim >::rotor_boundary_id = 1 |
Boundary ID # of the rotor at the rotor-stator interface.
Definition at line 2603 of file parameters.h.
| std::shared_ptr<Mesh<dim> > Parameters::Mortar< dim >::rotor_mesh |
Mesh parameters for the rotor part.
Definition at line 2601 of file parameters.h.
| std::shared_ptr<Functions::ParsedFunction<dim> > Parameters::Mortar< dim >::rotor_rotation_angle |
Rotation angle of the rotor domain in radians.
Definition at line 2611 of file parameters.h.
| double Parameters::Mortar< dim >::sip_factor = 1. |
Penalty factor for mortar elements.
Definition at line 2615 of file parameters.h.
| unsigned int Parameters::Mortar< dim >::stator_boundary_id = 2 |
Boundary ID # of the stator at the rotor-stator interface.
Definition at line 2605 of file parameters.h.
| Verbosity Parameters::Mortar< dim >::verbosity = Verbosity::quiet |
Type of verbosity for mortar.
Definition at line 2623 of file parameters.h.