Stimulus: Sinusoid: remove the amp
component
This commit is contained in:
@@ -78,8 +78,9 @@ fn main() {
|
||||
|
||||
// helper to schedule a stimulus at the provided start time/duration.
|
||||
let mut add_drive_pulse = |region: &Torus, start, duration, amp| {
|
||||
let wave = Sinusoid::from_wavelength(amp, duration * 2.0)
|
||||
let wave = Sinusoid::from_wavelength(duration * 2.0)
|
||||
.half_cycle()
|
||||
.scaled(amp)
|
||||
.shifted(start);
|
||||
driver.add_stimulus(ModulatedVectorField::new(
|
||||
CurlVectorField::new(region.clone()),
|
||||
|
Reference in New Issue
Block a user