Helper: create cell-cell addressing in global numbering.More... Static Protected Member Functions staticlabelListcount(const label size, constlabelUList&lst) Count occurrences (in parallel)More... template<class Type > statictmp<volScalarField>createField(constfvMesh&mesh, constword&name, constULi...
►faceZoneToCell ►faceZoneToFaceZone ►faEdgeMapper ►faePatchField ►faFieldDecomposer ►faFieldReconstructor ►faGlobalMeshData ►FallOffReactionRate ►faMatrix ►faMesh ►faMeshBoundaryHalo ►faMeshDecomposition ►faMeshLduAddressing ►faMeshMapper ►faMeshReconstructor ►fanFv...
labelList patchIDs(getSelectedPatches(patches, excludePatches)); mkDir(fvPath/"boundaryMesh"); fileName patchFileName; if (vMesh.useSubMesh()) { patchFileName = fvPath/"boundaryMesh"/cellSetName + "_" + timeDesc + ".plt"; } else { patchFileName = fvPath/...
解决的方法是LDU里只保存非0元素,然后用一个IduAddressing的类来保存矩阵的哪些位置有值这样的信息,如此就可以把LDU里保存的非0元素一个个填回矩阵A里,还原这个矩阵的本来面目。 举个例子。5号cell和2号cell之间有接触,所以A[5][2]就不为0,同理A[2][5]也不为0。 fvMatrix里面不止有IduMatrix和IduAddres...
Foam::tmpFoam::labelFieldFoam::pairGAMGAgglomeration::agglomerate ( labelnCoarseCells, constlduAddressingfineMatrixAddressing, constscalarFieldfaceWeights ) Thefollowingisanoverviewofwhathappensintheloops: 1.Getthenest-levelinterfacesfromthemesh 2.StartagglomerationfromthegivenfaceWeights a)Foreachcellcalcula...
} forAll(cellProcAddressing, procCelli) { @@ -68,27 +67,28@@Foam::lagrangianFieldDecomposer::lagrangian const indexedParticle& ppi = *iter(); particleIndices_[pi++]= ppi.index(); // label mappedTetFace= findIndex // ( // decodedFaceAddressing // ppi.tetFace() // ...
Checking basic cellZone addressing... CellZone Cells Points VolumeBoundingBox square 21285 28654 92044.29 (-16.240871 -16.24087 0) (16.24087 16.240869 100) innerCircle 21000 24480 195490.6 (-30.458205 -30.458205 0) (30.458204 30.458205 100)volpack 22935 29794 112415.39 (-30.458205 -30.458205 30.005496...
►faceZoneToCell ►faceZoneToFaceZone ►faEdgeMapper ►faePatchField ►faFieldDecomposer ►faFieldReconstructor ►faGlobalMeshData ►FallOffReactionRate ►faMatrix ►faMesh ►faMeshBoundaryHalo ►faMeshDecomposition ►faMeshDistributor ►faMeshLduAddressing ►faMeshMapper ►faMesh...
findCellParticle (const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti, const point &end, const label data) Construct from components. More... findCellParticle (const polyMesh &mesh, const vector &position, const...
228 - // populate the addressing 229 - void reconstruct(); 261 + fvMesh::readUpdateState readUpdateReconstruct(); 230 262 231 263 //- Return the distribution as an FV field for writing 232 - labelList cellToProc() const; 264 + const labelList& cellProc() const 265 + { ...