1#ifndef CHITECH_LBS_DIFFUSION_MIP_H
2#define CHITECH_LBS_DIFFUSION_MIP_H
17 class SpatialDiscretization;
22 struct UnitCellMatrices;
38 std::map<uint64_t, BoundaryCondition> bcs,
40 const std::vector<UnitCellMatrices>& unit_cell_matrices,
51 void Assemble_b(
const std::vector<double>& q_vector)
override;
59 const std::vector<chi_mesh::Vector3>& cc_node_locs,
60 const std::vector<chi_mesh::Vector3>& ac_node_locs,
61 size_t ccf,
size_t acf,
63 double epsilon=1.0e-12);
void AssembleAand_b_wQpoints(const std::vector< double > &q_vector)
void AssembleAand_b(const std::vector< double > &q_vector) override
DiffusionMIPSolver(std::string text_name, const chi_math::SpatialDiscretization &sdm, const chi_math::UnknownManager &uk_man, std::map< uint64_t, BoundaryCondition > bcs, MatID2XSMap map_mat_id_2_xs, const std::vector< UnitCellMatrices > &unit_cell_matrices, bool verbose)
int MapFaceNodeDisc(const chi_mesh::Cell &cur_cell, const chi_mesh::Cell &adj_cell, const std::vector< chi_mesh::Vector3 > &cc_node_locs, const std::vector< chi_mesh::Vector3 > &ac_node_locs, size_t ccf, size_t acf, size_t ccfi, double epsilon=1.0e-12)
void Assemble_b(const std::vector< double > &q_vector) override
double HPerpendicular(const chi_mesh::Cell &cell, unsigned int f)
static double CallLuaXYZFunction(lua_State *L, const std::string &lua_func_name, const chi_mesh::Vector3 &xyz)
virtual ~DiffusionMIPSolver()=default
void Assemble_b_wQpoints(const std::vector< double > &q_vector)
std::map< int, Multigroup_D_and_sigR > MatID2XSMap