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:
- mesh
discretize.TensorMesh
ordiscretize.TreeMesh
A tensor or tree mesh
- ind_active
numpy.ndarray
of
bool 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
- (