|
Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
|
tests custom element-wise transform on sparse tensors by doing force integration More...
|
Functions | |
| int | force_integration_sparse (int n, World &dw) |
| char * | getCmdOption (char **begin, char **end, const std::string &option) |
| int | main (int argc, char **argv) |
tests custom element-wise transform on sparse tensors by doing force integration
| int force_integration_sparse | ( | int | n, |
| World & | dw | ||
| ) |
Definition at line 14 of file force_integration_sparse.cxx.
References acc_force(), CTF_int::tensor::addinv(), AS, particle::coeff, particle::dx, particle::dy, get_distance(), get_force(), particle::id, CTF::World::rank, SP, and CTF::Tensor< dtype >::write().
Referenced by main().
| char* getCmdOption | ( | char ** | begin, |
| char ** | end, | ||
| const std::string & | option | ||
| ) |
Definition at line 120 of file force_integration_sparse.cxx.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 131 of file force_integration_sparse.cxx.
References force_integration_sparse(), getCmdOption(), ctf.core::np(), and ctf.core::rank().