FDTD_Solver.solve

rfnetwork.solver.FDTD_Solver.solve

FDTD_Solver.solve(n_threads=4, show_progress=True)

Run FDTD algorithm. At least one port must have an excitation defined before running. Results will be written to the probes and monitors attached to the model.

Parameters

n_threadint, default: 4

number of parallel threads to run algorithm on. Fully separate threads using MPI is not supported yet. Threads are controlled by the OS and will spread across the available CPU cores. On most systems performance is bottle-necked by shared memory caches between cores.

show_progressbool, default: True

print solver progress to stdout.