forAll(sharpSitePoints, siteI) { // Treating sharp sites like flat sites evaluateWall ( p, sharpSitePoints[siteI], sharpSiteData[siteI], pREff ); }
forAll(sharpSitePoints, siteI) { // Treating sharp sites like flat sites, except suppress cohesion evaluateWall ( p, sharpSitePoints[siteI], sharpSiteData[siteI], pREff, false ); }
void Foam::WallLocalSpringSliderDashpot<CloudType>::evaluateWall ( typename CloudType::parcelType& p, const List<point>& flatSitePoints, const List<WallSiteData<vector> >& flatSiteData, const List<point>& sharpSitePoints, const List<WallSiteData<vector> >& sharpSiteData ) const { scalar pREff = this->pREff(p); forAll(flatSitePoints, siteI) { evaluateWall ( p, flatSitePoints[siteI], flatSiteData[siteI], pREff ); }