41 nbrPatchIDs_(nbrPatchIDs),
62 label nbrPatchi = iter.key();
73 label nbrPatchi = iter.key();
85 const edge meshE =
edge(nbrMp[e[0]], nbrMp[e[1]]);
86 nbrEdges.
insert(meshE, nbrPatchi);
122 const edge meshE =
edge(mp[e[0]], mp[e[1]]);
124 if (edgeFnd != nbrEdges.
end())
126 initialEdges.
append(edgeI);
159 forAll(allFaceInfo, facei)
161 if (allFaceInfo[facei].valid(calc.data()))
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static iteratorEnd end()
iteratorEnd set to beyond the end of any HashTable
const double e
Elementary charge.
const labelList & meshPoints() const
Return labelList of mesh points in patch. They are constructed.
Type & operator[](const label)
Return element of UList.
Wave propagation of information along patch. Every iteration information goes through one layer of fa...
dimensionedScalar sqrt(const dimensionedScalar &ds)
bool insert(const Key &, const T &newElmt)
Insert a new hashedEntry.
iterator find(const Key &)
Find and return an iterator set at the hashedEntry.
An edge is a list of two point labels. The functionality it provides supports the discretisation on a...
virtual ~patchPatchDist()
Destructor.
const edgeList & edges() const
Return list of edges, address into LOCAL point list.
DynamicList< T, SizeInc, SizeMult, SizeDiv > & append(const T &)
Append an element at the end of the list.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
const polyMesh & mesh() const
Return the mesh reference.
Info<< "Predicted p max-min : "<< max(p).value()<< " "<< min(p).value()<< endl;rho==max(psi *p+alphal *rhol0+((alphav *psiv+alphal *psil)-psi)*pSat, rhoMin);#1"/home/ubuntu/OpenFOAM-4.1/applications/solvers/multiphase/cavitatingFoam/alphavPsi.H"1{alphav=max(min((rho-rholSat)/(rhovSat-rholSat), scalar(1)), scalar(0));alphal=1.0-alphav;Info<< "max-min alphav: "<< max(alphav).value()<< " "<< min(alphav).value()<< endl;psiModel-> correct()
PrimitivePatch< face, SubList, const pointField & > primitivePatch
Addressing for a faceList slice.
label nEdges() const
Return number of edges in patch.
patchPatchDist(const polyPatch &pp, const labelHashSet &nbrPatchIDs)
Construct from patch and neighbour patches.
void setSize(const label)
Reset size of List.
virtual void correct()
Correct for mesh geom/topo changes.
label nInternalEdges() const
Number of internal edges.
T returnReduce(const T &Value, const BinaryOp &bop, const int tag=Pstream::msgType(), const label comm=UPstream::worldComm)
A patch is a list of labels that address the faces in the global face list.
const polyBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
const Field< PointType > & localPoints() const
Return pointField of points in patch.
const dimensionedScalar mp
Proton mass.