Version 2, position dependent E/B, kinetic ions, boris mover, terminator
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#include "simulation/drift_velocity.h"
|
||||
|
||||
#include "simulation/vector_field.h"
|
||||
|
||||
DriftVelocity::DriftVelocity(std::shared_ptr<VectorField> drift_velocity)
|
||||
: drift_velocity_(drift_velocity) {}
|
||||
|
||||
CartesianVector DriftVelocity::driftVelocity(const Coordinate& position) {
|
||||
return CartesianVector(drift_velocity_->value(position), position);
|
||||
}
|
||||
Reference in New Issue
Block a user