Home
last modified time | relevance | path

Searched refs:_twosided_type (Results 1 – 1 of 1) sorted by relevance

/petsc/src/sys/utils/
H A Dmpits.c9 static PetscBuildTwoSidedType _twosided_type = PETSC_BUILDTWOSIDED_NOTSET; variable
37 _twosided_type = twosided; in PetscCommBuildTwoSidedSetType()
60 if (_twosided_type == PETSC_BUILDTWOSIDED_NOTSET) { in PetscCommBuildTwoSidedGetType()
62_twosided_type = PETSC_BUILDTWOSIDED_ALLREDUCE; /* default for small comms, see https://gitlab.com… in PetscCommBuildTwoSidedGetType()
64 if (size > 1024) _twosided_type = PETSC_BUILDTWOSIDED_IBARRIER; in PetscCommBuildTwoSidedGetType()
66 …tEnum(NULL, NULL, "-build_twosided", PetscBuildTwoSidedTypes, (PetscEnum *)&_twosided_type, NULL)); in PetscCommBuildTwoSidedGetType()
68 *twosided = _twosided_type; in PetscCommBuildTwoSidedGetType()