Chi-Tech
lbs_adj_response_function.h
Go to the documentation of this file.
1#ifndef CHITECH_LBS_ADJ_RESPONSE_FUNCTION_H
2#define CHITECH_LBS_ADJ_RESPONSE_FUNCTION_H
3
4#include <utility>
5
6#include "mesh/Cell/cell.h"
7
8namespace lbs
9{
10
12{
13 const std::string name;
14 const std::shared_ptr<chi_mesh::LogicalVolume> logical_volume;
15 const std::string lua_functional;
16
18 std::string in_name,
19 std::shared_ptr<chi_mesh::LogicalVolume> in_logical_volume,
20 std::string in_lua_function_name) :
21 name(std::move(in_name)),
22 logical_volume(std::move(in_logical_volume)),
23 lua_functional(std::move(in_lua_function_name))
24 {}
25
26 std::vector<double> GetMGResponse(const chi_mesh::Cell& cell,size_t num_groups) const;
27};
28
29}//namespace lbs
30
31#endif //CHITECH_LBS_ADJ_RESPONSE_FUNCTION_H
ResponseFunctionDesignation(std::string in_name, std::shared_ptr< chi_mesh::LogicalVolume > in_logical_volume, std::string in_lua_function_name)
const std::shared_ptr< chi_mesh::LogicalVolume > logical_volume
std::vector< double > GetMGResponse(const chi_mesh::Cell &cell, size_t num_groups) const