solve_source#
- emg3d.solver.solve_source(model, source, frequency, **kwargs)[source]#
Return electric field for a given source and frequency.
This function is a simple shortcut for the following:
sfield = emg3d.get_source_field(grid, source, frequency, **kwargs) efield = emg3d.solve(model, sfield, **kwargs)
See the documentation of
emg3d.fields.get_source_field
for the description ofmodel
,source
, andfrequency
, and the documentation ofemg3d.solver.solve
for all other input and output parameters.