def addBlock(gridCC, modelCC, p0, p1, blockProp):
    ind = getIndicesBlock(p0, p1, gridCC)
    modelBlock = modelCC.copy()
    modelBlock[ind] = blockProp
    return modelBlock
Add a block to an exsisting cell centered model, modelCC
dataset/ETHPy150Open simpeg/simpeg/SimPEG/Utils/ModelBuilder.py/addBlock