#include <Ricom.h>
Definition at line 106 of file Ricom.h.
◆ Update_list()
| Update_list::Update_list |
( |
| ) |
|
|
inline |
Definition at line 121 of file Ricom.h.
121: kernel(), nx(0), ny(0){};
◆ init()
| void Update_list::init |
( |
Ricom_kernel |
kernel, |
|
|
int |
nx_ricom, |
|
|
int |
ny_ricom |
|
) |
| |
Definition at line 190 of file Ricom.cpp.
191{
192 this->nx = nx_ricom;
193 this->ny = ny_ricom;
194 this->kernel = kernel;
195
197 int idul = 0;
199 {
201 {
202 ids[idul] = {(idy * nx + idx),
false};
203 idul++;
204 }
205 }
206}
std::vector< id_x_y > ids
◆ shift()
| void Update_list::shift |
( |
id_x_y & |
id_sft, |
|
|
int |
id, |
|
|
int |
shift |
|
) |
| |
|
inline |
Definition at line 208 of file Ricom.cpp.
209{
211 int y = id_sft / nx;
212 int x = id_sft % nx;
213 res = {id_sft, y >= 0 && y < ny && x < nx && x >= 0};
214}
void shift(id_x_y &id_sft, int id, int shift)
◆ ids
| std::vector<id_x_y> Update_list::ids |
The documentation for this class was generated from the following files: