BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
current.cpp File Reference
#include <belfem_user_api>
Include dependency graph for current.cpp:

Functions

real my_current (const real t)
 Trapezoidal transport current: ramp up, flat top, ramp down, off.
real my_current_reverse (const real t)
 The same waveform with the opposite polarity, for the return legs.
void MyCurrent_init (SourceFunction *source)
void MyCurrent_reverse_init (SourceFunction *source)

Function Documentation

◆ my_current()

real my_current ( const real t)

Trapezoidal transport current: ramp up, flat top, ramp down, off.

Parameters
ttime (s)
Returns
current value (A)

◆ my_current_reverse()

real my_current_reverse ( const real t)

The same waveform with the opposite polarity, for the return legs.

Parameters
ttime (s)
Returns
current value (A)

◆ MyCurrent_init()

void MyCurrent_init ( SourceFunction * source)

◆ MyCurrent_reverse_init()

void MyCurrent_reverse_init ( SourceFunction * source)