52 if (
name ==
"override_index") {
55 auto const index = get_value<Utils::Vector3i>(
params,
"index");
62 if (
name ==
"set_density") {
63 auto const dens = get_value<double>(
params,
"value");
64 m_ek_species->set_node_density(m_index, dens * m_conv_dens);
65 m_ek_species->ghost_communication();
68 if (
name ==
"get_density") {
69 auto const result = m_ek_species->get_node_density(m_index);
73 if (
name ==
"get_is_boundary") {
74 auto const result = m_ek_species->get_node_is_boundary(m_index);
77 if (
name ==
"get_node_density_at_boundary") {
78 auto const boundary_opt =
79 m_ek_species->get_node_is_density_boundary(m_index);
81 auto const result = m_ek_species->get_node_density_at_boundary(m_index);
87 if (
name ==
"set_node_density_at_boundary") {
89 m_ek_species->remove_node_from_density_boundary(m_index);
91 auto const dens = get_value<double>(
params,
"value") * m_conv_dens;
92 m_ek_species->set_node_density_boundary(m_index, dens);
96 if (
name ==
"get_node_flux_at_boundary") {
97 auto const boundary_opt = m_ek_species->get_node_is_flux_boundary(m_index);
99 auto const result = m_ek_species->get_node_flux_at_boundary(m_index);
105 if (
name ==
"set_node_flux_at_boundary") {
107 m_ek_species->remove_node_from_flux_boundary(m_index);
110 get_value<Utils::Vector3d>(
params,
"value") * m_conv_flux;
111 m_ek_species->set_node_flux_boundary(m_index, flux);
boost::make_recursive_variant< None, bool, int, std::size_t, double, std::string, ObjectRef, Utils::Vector3b, Utils::Vector3i, Utils::Vector2d, Utils::Vector3d, Utils::Vector4d, std::vector< int >, std::vector< double >, std::vector< boost::recursive_variant_ >, std::unordered_map< int, boost::recursive_variant_ >, std::unordered_map< std::string, boost::recursive_variant_ > >::type Variant
Possible types for parameters.