Chi-Tech
lbs_bndry_func_lua.h
Go to the documentation of this file.
1#ifndef CHITECH_LBS_BNDRY_FUNC_LUA_H
2#define CHITECH_LBS_BNDRY_FUNC_LUA_H
3
5
6#include <string>
7#include <utility>
8
9namespace lbs
10{
11
13{
14private:
15 const std::string m_lua_function_name;
16public:
17 explicit
18 BoundaryFunctionToLua(std::string lua_function_name) :
19 m_lua_function_name(std::move(lua_function_name)) {}
20
21 std::vector<double> Evaluate(
22 size_t cell_global_id,
23 int cell_material_id,
24 unsigned int face_index,
25 unsigned int face_node_index,
26 const chi_mesh::Vector3& face_node_location,
27 const chi_mesh::Vector3& face_node_normal,
28 const std::vector<int>& quadrature_angle_indices,
29 const std::vector<chi_mesh::Vector3>& quadrature_angle_vectors,
30 const std::vector<std::pair<double,double>>& quadrature_phi_theta_angles,
31 const std::vector<int>& group_indices,
32 double time) override;
33};
34
35}//namespace LinearBoltzmann
36
37#endif //CHITECH_LBS_BNDRY_FUNC_LUA_H
const std::string m_lua_function_name
std::vector< double > Evaluate(size_t cell_global_id, int cell_material_id, unsigned int face_index, unsigned int face_node_index, const chi_mesh::Vector3 &face_node_location, const chi_mesh::Vector3 &face_node_normal, const std::vector< int > &quadrature_angle_indices, const std::vector< chi_mesh::Vector3 > &quadrature_angle_vectors, const std::vector< std::pair< double, double > > &quadrature_phi_theta_angles, const std::vector< int > &group_indices, double time) override
BoundaryFunctionToLua(std::string lua_function_name)