Collimator physics for MIC fix
This commit is contained in:
@ -129,7 +129,9 @@ int main(int argc, char *argv[]) {
|
||||
//init random
|
||||
base.callInitRandoms(numpart);
|
||||
|
||||
|
||||
//**test collimator physics and sort***//
|
||||
|
||||
void *label_ptr, *localID_ptr, *rx_ptr, *ry_ptr, *rz_ptr, *px_ptr, *py_ptr, *pz_ptr, *param_ptr;
|
||||
|
||||
//allocate memory for particles
|
||||
@ -210,8 +212,8 @@ int main(int argc, char *argv[]) {
|
||||
base.freeMemory<double>(pz_ptr, numpart);
|
||||
|
||||
base.freeMemory<double>(param_ptr, 12);
|
||||
|
||||
/*
|
||||
|
||||
/*
|
||||
std::cout << std::fixed << std::setprecision(4);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
std::cout << p.label[i] << "\t" << p.rx[i]
|
||||
|
Reference in New Issue
Block a user