Effective Lagrangian of a bosonic system in a non-trivial topology under magnetic effects | Synapse