This commit is contained in:
Hrvoje Jasak 2011-03-13 23:18:35 +00:00
parent 8df50082dc
commit 0c64456815

View file

@ -21,7 +21,7 @@ License
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation, along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "leastSquaresGrad.H" #include "leastSquaresGrad.H"
@ -116,7 +116,7 @@ leastSquaresGrad<Type>::grad
if (vsf.boundaryField()[patchi].coupled()) if (vsf.boundaryField()[patchi].coupled())
{ {
Field<Type> neiVsf = Field<Type> neiVsf =
vsf.boundaryField()[patchi].patchNeighbourField(); vsf.boundaryField()[patchi].patchNeighbourField();
forAll(neiVsf, patchFaceI) forAll(neiVsf, patchFaceI)