| ca5434da | 28-Aug-2019 |
Lawrence Mitchell <lawrence@wence.uk> |
PetscLayout: forbid calling setup twice with different sizes
* PetscLayout objects should be considered immutable, especially because they can be shared. * Make use of PetscLayoutCreateFromSizes().
PetscLayout: forbid calling setup twice with different sizes
* PetscLayout objects should be considered immutable, especially because they can be shared. * Make use of PetscLayoutCreateFromSizes(). * setupcalled is now the single indicator that PetscLayout is ready. * Insure the rest of variables (e.g. map->rstart) are calculated even if n, N and range are set.
show more ...
|
| b347ccde | 06-Sep-2019 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
Make IS sizes fully given by PetscLayout.
* Remove n,N from IS_Stride, which were just bypassing PetscLayout ones * Remove getsize, getlocalsize from _ISOps * ISGetSize, ISGetLocalSize now take size
Make IS sizes fully given by PetscLayout.
* Remove n,N from IS_Stride, which were just bypassing PetscLayout ones * Remove getsize, getlocalsize from _ISOps * ISGetSize, ISGetLocalSize now take sizes right from the PetscLayout * Deal with now immutable PetscLayout using PetscLayoutCreateFromSizes() * Assure that blocksize is preserved in ISGeneralSetIndices, ISStrideSetStride
show more ...
|
| a072220f | 05-Sep-2019 |
Lawrence Mitchell <lawrence@wence.uk> |
SF: Stricter check for valid inputs in PetscSFCompose
An SF might not encode a true star forest (leaves could be repeated). Composition of SFs does, however, rely on unique leaves, so check that in
SF: Stricter check for valid inputs in PetscSFCompose
An SF might not encode a true star forest (leaves could be repeated). Composition of SFs does, however, rely on unique leaves, so check that in debug mode.
show more ...
|
| c4e6a40a | 23-Aug-2019 |
Lawrence Mitchell <lawrence@wence.uk> |
SF: Check validity of graph in debug mode
Forbid negative leaf indices in ilocal, negative root indices in iremote, and invalid ranks in iremote. Since sometimes an SF is used just to carry informat
SF: Check validity of graph in debug mode
Forbid negative leaf indices in ilocal, negative root indices in iremote, and invalid ranks in iremote. Since sometimes an SF is used just to carry information (e.g. DMLocatePoints), do the check when we're setting up rather than when setting the graph.
show more ...
|