Chi-Tech
lbs::BoundaryFunctionToLua Class Reference

#include <lbs_bndry_func_lua.h>

Inheritance diagram for lbs::BoundaryFunctionToLua:
chi_mesh::sweep_management::BoundaryFunction

Public Member Functions

 BoundaryFunctionToLua (std::string 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
 
- Public Member Functions inherited from chi_mesh::sweep_management::BoundaryFunction
virtual 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)=0
 
virtual ~BoundaryFunction ()=default
 

Private Attributes

const std::string m_lua_function_name
 

Detailed Description

Definition at line 12 of file lbs_bndry_func_lua.h.

Constructor & Destructor Documentation

◆ BoundaryFunctionToLua()

lbs::BoundaryFunctionToLua::BoundaryFunctionToLua ( std::string  lua_function_name)
inlineexplicit

Definition at line 18 of file lbs_bndry_func_lua.h.

Member Function Documentation

◆ Evaluate()

std::vector< double > lbs::BoundaryFunctionToLua::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

Customized boundary function by calling a lua routine.

Definition at line 11 of file lbs_bndry_func_lua.cc.

Field Documentation

◆ m_lua_function_name

const std::string lbs::BoundaryFunctionToLua::m_lua_function_name
private

Definition at line 15 of file lbs_bndry_func_lua.h.


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