private void setObstacleVelocity(float[][] u, float[][] v) {
		int count = 0;
		float uw, vw;
		for (int i = 1; i < nx1; i++) {
			for (int j = 1; j < ny1; j++) {
				if (!fluidity[i][j]) {
					uw = uWind[i][j];
					vw = vWind[i][j];
					count = 0;
					if (fluidity[i - 1][j]) {
						count++;
						u[i][j] = uw - u[i - 1][j];
						v[i][j] = vw + v[i - 1][j];
					} else if (fluidity[i + 1][j]) {
						count++;
						u[i][j] = uw - u[i + 1][j];
						v[i][j] = vw + v[i + 1][j];
					}
					if (fluidity[i][j - 1]) {
						count++;
						u[i][j] = uw + u[i][j - 1];
						v[i][j] = vw - v[i][j - 1];
					} else if (fluidity[i][j + 1]) {
						count++;
						u[i][j] = uw + u[i][j + 1];
						v[i][j] = vw - v[i][j + 1];
					}
					if (count == 0) {
						u[i][j] = uw;
						v[i][j] = vw;
					}
				}
			}
		}
	}