Chi-Tech
lbs::ResponseFunctionDesignation Struct Reference

#include <lbs_adj_response_function.h>

Public Member Functions

 ResponseFunctionDesignation (std::string in_name, std::shared_ptr< chi_mesh::LogicalVolume > in_logical_volume, std::string in_lua_function_name)
 
std::vector< double > GetMGResponse (const chi_mesh::Cell &cell, size_t num_groups) const
 

Data Fields

const std::string name
 
const std::shared_ptr< chi_mesh::LogicalVolumelogical_volume
 
const std::string lua_functional
 

Detailed Description

Definition at line 11 of file lbs_adj_response_function.h.

Constructor & Destructor Documentation

◆ ResponseFunctionDesignation()

lbs::ResponseFunctionDesignation::ResponseFunctionDesignation ( std::string  in_name,
std::shared_ptr< chi_mesh::LogicalVolume in_logical_volume,
std::string  in_lua_function_name 
)
inlineexplicit

Definition at line 17 of file lbs_adj_response_function.h.

Member Function Documentation

◆ GetMGResponse()

std::vector< double > lbs::ResponseFunctionDesignation::GetMGResponse ( const chi_mesh::Cell cell,
size_t  num_groups 
) const

Calls the lua function associated with the response function and returns a multigroup vector of the source values.

Definition at line 12 of file lbs_adj_response_function.cc.

Field Documentation

◆ logical_volume

const std::shared_ptr<chi_mesh::LogicalVolume> lbs::ResponseFunctionDesignation::logical_volume

Definition at line 14 of file lbs_adj_response_function.h.

◆ lua_functional

const std::string lbs::ResponseFunctionDesignation::lua_functional

Definition at line 15 of file lbs_adj_response_function.h.

◆ name

const std::string lbs::ResponseFunctionDesignation::name

Definition at line 13 of file lbs_adj_response_function.h.


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