Envoyer par SMS: Electron g-factor in nanostructures: continuum media and atomistic approach