SimPEG.electromagnetics.static.utils.gettopoCC#
- SimPEG.electromagnetics.static.utils.gettopoCC(mesh, ind_active, option='top')[source]#
- Generate surface topography from active indices of mesh. - Parameters:
- meshdiscretize.TensorMeshordiscretize.TreeMesh
- A tensor or tree mesh 
- ind_activenumpy.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 
 
- (