Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
#include "HTC_header.h" void initialization_h(struct particle *particle,struct machine *machine) { int i,t; double rnd; for (i=0;i<mh;i++) { for (t=0;t<tym;t++) { rnd=((double) rand() / RAND_MAX); particle->qh[t][i]= machine->qmin[i]+(rnd*(machine->qmax[i]- machine->qmin[i])); } } } // end of func |