看起来你改动这一行代码就行:probes.C
forAll(*this, probei)
    {
        const vector& location = operator[](probei);//runTime
        const label celli = mesh.findCell(location);
        elementList_[probei] = celli;
        if (celli != -1)
        {
            const labelList& cellFaces = mesh.cells()[celli];
            const vector& cellCentre = mesh.cellCentres()[celli];