We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce8a09c commit b8c60cfCopy full SHA for b8c60cf
include/simulation/Evolve.h
@@ -241,7 +241,7 @@ namespace evolve{
241
auto Vdrift = k1 +ref;
242
243
//calculate current with Ramo's theorem
244
- hydra::get<5>(p)=hydra::get<_tc_charge>(p)*HCHARGE*(Vdrift.dot(wfvec));
+ hydra::get<5>(p)=hydra::get<_tc_charge>(p)*HCHARGE*(Vdrift.get(0)*wfvec.get(0)+Vdrift.get(1)*wfvec.get(1)+Vdrift.get(2)*wfvec.get(2));
245
}
246
247
size_t _fN;
@@ -373,7 +373,7 @@ namespace evolve{
373
374
375
376
377
378
379
0 commit comments