Numerical modeling of the spatial structure of the electromagnetic field in the ECR discharge in the resonator | Synapse