Chi-Tech
sweep_boundary.cc
Go to the documentation of this file.
1#include "sweep_boundaries.h"
2
3#include "chi_runtime.h"
4#include "chi_log.h"
5#include "chi_mpi.h"
6
7//###################################################################
8/**Returns a pointer to a heterogeneous flux storage location.*/
10HeterogeneousPsiIncoming(uint64_t cell_local_id,
11 unsigned int face_num,
12 unsigned int fi,
13 unsigned int angle_num,
14 int group_num,
15 size_t gs_ss_begin)
16{
18 << "HeterogeneousPsiIncoming call made to boundary "
19 "that has no such information.";
20 Chi::Exit(EXIT_FAILURE);
21 return nullptr;
22}
23
24//###################################################################
25/**Returns a pointer to a heterogeneous flux storage location.*/
27HeterogeneousPsiOutgoing(uint64_t cell_local_id,
28 unsigned int face_num,
29 unsigned int fi,
30 unsigned int angle_num,
31 size_t gs_ss_begin)
32{
34 << "HeterogeneousPsiOutgoing call made to boundary "
35 "that has no such information.";
36 Chi::Exit(EXIT_FAILURE);
37 return nullptr;
38}
static void Exit(int error_code)
Definition: chi_runtime.cc:342
static chi::ChiLog & log
Definition: chi_runtime.h:81
LogStream LogAllError()
Definition: chi_log.h:239
virtual double * HeterogeneousPsiOutgoing(uint64_t cell_local_id, unsigned int face_num, unsigned int fi, unsigned int angle_num, size_t gs_ss_begin)
virtual double * HeterogeneousPsiIncoming(uint64_t cell_local_id, unsigned int face_num, unsigned int fi, unsigned int angle_num, int group_num, size_t gs_ss_begin)