simpeg.electromagnetics.static.utils.gettopoCC#
- simpeg.electromagnetics.static.utils.gettopoCC(mesh, ind_active, option='top')[source]#
Generate surface topography from active indices of mesh.
Deprecated since version 0.25.0:
gettopoCCwill be removed in SimPEG v0.27.0. Please, use thesimpeg.utils.get_discrete_topography()function instead.- Parameters:
- mesh
discretize.TensorMeshordiscretize.TreeMesh A tensor or tree mesh
- ind_active
numpy.ndarrayofbool orint Active cells index; i.e. indices of cells below surface
- option{“top”, “center”}
Use string to specify if the surface passes through the tops or cell centers of surface cells.
- mesh
- Returns:
- (
n,dim)numpy.ndarray xy[z] topography
- (