55 const scalarField nbrNfDelta((nbrSf/(
mag(nbrSf) + vSmall)) & nbrDelta);
59 const scalar ndoi = nfDelta[facei];
60 const scalar ndni = nbrNfDelta[facei];
61 const scalar ndi = ndoi + ndni;
63 if (ndni/vGreat < ndi)
69 const scalar doi =
mag(delta[facei]);
70 const scalar dni =
mag(nbrDelta[facei]);
71 const scalar di = doi + dni;
#define forAll(list, i)
Loop across all elements in list.
void makeWeights(scalarField &w, const vectorField &nbrSf, const vectorField &nbrDelta) const
Make patch weighting factors.
defineTypeNameAndDebug(combustionModel, 0)
virtual tmp< vectorField > delta() const =0
Return delta (P to N) vectors across coupled patch.
dimensioned< scalar > mag(const dimensioned< Type > &)
friend dimensionSet transform(const dimensionSet &)
Return the argument; transformations do not change the dimensions.
A class for managing temporary objects.
virtual ~coupledFvPatch()
Destructor.
dimensionSet transform(const dimensionSet &)