Modeling the oceanic magnetic source layer