Variant of gaussSeidelSmoother that expects processor boundary cells to be sorted last and so can block later. Only when the cells are actually visited does it need the results to be present. It is expected that there is little benefit to be gained from doing this on a patch by patch basis since the number of processor interfaces is quite small and the overhead of checking whether a processor interface is finished might be quite high (call into mpi). Also this would require a dynamic memory allocation to store the state of the outstanding requests. More...
Static Public Member Functions | |
static void | smooth (const word &fieldName, solveScalarField &psi, const lduMatrix &matrix, const label blockStart, const solveScalarField &source, const FieldField< Field, scalar > &interfaceBouCoeffs, const lduInterfaceFieldPtrsList &interfaces, const direction cmpt, const label nSweeps) |
![]() | |
static word | getName (const dictionary &) |
static autoPtr< smoother > | New (const word &fieldName, const lduMatrix &matrix, const FieldField< Field, scalar > &interfaceBouCoeffs, const FieldField< Field, scalar > &interfaceIntCoeffs, const lduInterfaceFieldPtrsList &interfaces, const dictionary &solverControls) |
Additional Inherited Members | |
![]() | |
word | fieldName_ |
const lduMatrix & | matrix_ |
const FieldField< Field, scalar > & | interfaceBouCoeffs_ |
const FieldField< Field, scalar > & | interfaceIntCoeffs_ |
const lduInterfaceFieldPtrsList & | interfaces_ |
Variant of gaussSeidelSmoother that expects processor boundary cells to be sorted last and so can block later. Only when the cells are actually visited does it need the results to be present. It is expected that there is little benefit to be gained from doing this on a patch by patch basis since the number of processor interfaces is quite small and the overhead of checking whether a processor interface is finished might be quite high (call into mpi). Also this would require a dynamic memory allocation to store the state of the outstanding requests.
Definition at line 58 of file nonBlockingGaussSeidelSmoother.H.
nonBlockingGaussSeidelSmoother | ( | const word & | fieldName, |
const lduMatrix & | matrix, | ||
const FieldField< Field, scalar > & | interfaceBouCoeffs, | ||
const FieldField< Field, scalar > & | interfaceIntCoeffs, | ||
const lduInterfaceFieldPtrsList & | interfaces | ||
) |
Definition at line 44 of file nonBlockingGaussSeidelSmoother.C.
References Foam::expressions::patchExpr::debug, lduMatrix::diag(), Foam::endl(), forAll, Foam::min(), Foam::Pout, and UPtrList::set().
TypeName | ( | "nonBlockingGaussSeidel" | ) |
|
static |
Definition at line 91 of file nonBlockingGaussSeidelSmoother.C.
References UList::begin(), lduMatrix::diag(), lduMatrix::initMatrixInterfaces(), lduMatrix::lduAddr(), lduMatrix::lower(), lduAddressing::ownerStartAddr(), psi, Foam::fvc::sweep(), lduMatrix::updateMatrixInterfaces(), lduMatrix::upper(), and lduAddressing::upperAddr().
|
virtual |
Implements lduMatrix::smoother.
Definition at line 247 of file nonBlockingGaussSeidelSmoother.C.
References psi.
|
virtual |
Implements lduMatrix::smoother.
Definition at line 224 of file nonBlockingGaussSeidelSmoother.C.
References psi, and Foam::fvc::smooth().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.