History log of /petsc/src/mat/impls/is/matis.c (Results 101 – 125 of 663)
Revision Date Author Comments
# 58d68138 23-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-08-21/clang-format-source' into 'main'

format repository with clang-format

See merge request petsc/petsc!5541


# 9371c9d4 22-Aug-2022 Satish Balay <balay@mcs.anl.gov>

clang-format: convert PETSc sources to comply with clang-format


# 8fd105b6 17-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-06-28/add-petsccallmethod' into 'main'

Introduce PetscTryTypeMethod and PetscUseTypeMethod to replace ad hoc use of (*obj->ops->method) in source

See merge request petsc/

Merge branch 'barry/2022-06-28/add-petsccallmethod' into 'main'

Introduce PetscTryTypeMethod and PetscUseTypeMethod to replace ad hoc use of (*obj->ops->method) in source

See merge request petsc/petsc!5376

show more ...


# dbbe0bcd 23-Jul-2022 Barry Smith <bsmith@mcs.anl.gov>

Convert setfromoptions methods over to PetscTryTypeMethod() approach

Flipped the order of the arguments for the function pointers (*setfromoptions)(PetscOptionItem*,obj); and friends to make them co

Convert setfromoptions methods over to PetscTryTypeMethod() approach

Flipped the order of the arguments for the function pointers (*setfromoptions)(PetscOptionItem*,obj); and friends to make them consistent with PetscTryTypeMethod() and all the other methods

Commit-type: refactorization
/spend 4h

show more ...


# 42b3b702 25-Jul-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-07-16/fix-mattranspose' into 'main'

Symbolic/numeric stages vs MatReuse flag discussion and additions to MatTranspose

See merge request petsc/petsc!5438


# 7fb60732 17-Jul-2022 Barry Smith <bsmith@mcs.anl.gov>

Update handling of MatTranspose() with MAT_REUSE_MATRIX

Add error checking for the use of the MAT_REUSE_MATRIX flag in MatTranspose()
Add tests to MatTranspose_XXX to error if the nonzero pattern ch

Update handling of MatTranspose() with MAT_REUSE_MATRIX

Add error checking for the use of the MAT_REUSE_MATRIX flag in MatTranspose()
Add tests to MatTranspose_XXX to error if the nonzero pattern changes
Add support for MAT_REUSE_MATRIX with changing nonzero pattern for MatTranspose_SeqAIJ()
Remove use of updateAt in MatProductNumeric_AtB_SeqAIJ_SeqAIJ() since MatTranspose() automatically
skips unneeded new transpose
Add MatTransposeSymbolic()
Update to SLEPc that supports these changes

Commit-type: feature, error-checking, documentation
/spend 5h

show more ...


# 1270cb4b 18-Jul-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/remove-constness-coo-ij' into 'main'

Remove constness of the i/j parameters in MatSetPreallocationCOO() to save memory

See merge request petsc/petsc!5436


# e8729f6f 15-Jul-2022 Junchao Zhang <jczhang@mcs.anl.gov>

Mat: remove constness of the i/j args in MatSetPreallocationCOO() to save memory


# 69eedc7b 25-Jun-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/fix-matis-getop-diagonal' into 'main'

MATIS: fix MatHasOperation

See merge request petsc/petsc!5369


# e26763e4 24-Jun-2022 Stefano Zampini <stefano.zampini@gmail.com>

MATIS: fix MatHasOperation


# 145e6476 23-Jun-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-06-13/make-one-line-if-call' into 'main'

Change if () { PetscCall() } three liner to one liner

See merge request petsc/petsc!5344


# 1baa6e33 14-Jun-2022 Barry Smith <bsmith@mcs.anl.gov>

Change if () { PetscCall() } three liner and friends to one liners

for i in `git ls-files | grep "\.[ch]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ ]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\

Change if () { PetscCall() } three liner and friends to one liners

for i in `git ls-files | grep "\.[ch]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ ]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\$[ ]*PetscCall(\([- ._+=a-z0-9A-Z>*,()]*);\)\$[ ]*}\$?\1if (\2) PetscCall(\3$?g' | tr '$' '\n' | sed 's?ZZZ?$?g' > $i.joe ; mv $i.joe $i ; done

for i in `git ls-files | grep "\.[hc]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ }else]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\$[ ]*PetscCall(\([- ._+=a-z0-9A-Z>*,()]*);\)\$\([ ]*\)} \([- ._+=a-z0-9A-Z>*,()]*);\)\$?\1if (\2) PetscCall(\3$\4\5$?g' | tr '$' '\n' | sed 's?ZZZ?$?g' > $i.joe ; mv $i.joe $i ; done

Yes, really ugly but Barry still cannot master awk

Commit-type: housekeeping

show more ...


# dc34d9f7 17-Jun-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/fix-function-composition' into 'main'

fix function composition

See merge request petsc/petsc!5274


# 2e956fe4 24-May-2022 Stefano Zampini <stefano.zampini@gmail.com>

PetscObjectFunctionCompose: clean up composed functions at Destroy time


# fe98ec71 11-Jun-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/gdsw-mg' into 'main'

Implement AGDSW coarse spaces for PCMG

See merge request petsc/petsc!5256


# d0dbe9f7 12-May-2022 Stefano Zampini <stefano.zampini@gmail.com>

MATIS: implement ASM operations

move headers


# 91d376ac 12-May-2022 Stefano Zampini <stefano.zampini@gmail.com>

MATIS: use map if matrix has DM attached


# 89669be4 02-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'psanan/docs-sphinx-man-pages' into 'main'

Integrate Man Pages into Sphinx Docs

Closes #1132 and #1015

See merge request petsc/petsc!4989


# e63c167f 30-Apr-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-04-28/rm-petsccheckfalse-mat' into 'main'

Remove the rest of the PetscCheckFalse() from the mat directory

See merge request petsc/petsc!5184


# db781477 25-Apr-2022 Patrick Sanan <patrick.sanan@gmail.com>

Docs: bulk add backticks to .seealso man page fields

```python
import os
import re
import fileinput

def _process_word(word):
comma = "," if word.endswith(",") else ""
return "`%s`%s" % (wor

Docs: bulk add backticks to .seealso man page fields

```python
import os
import re
import fileinput

def _process_word(word):
comma = "," if word.endswith(",") else ""
return "`%s`%s" % (word.rstrip(","), comma)

def _process_stripped_line(line):
return " ".join(map(_process_word, line.split()))

start_pattern = re.compile(r"^( *\.seealso:? )(.*$)")

def process_file(filename_full):
with fileinput.FileInput(filename_full, inplace=True) as f:
in_block = False
for line in f:
line_stripped = line.strip()
# end ".seealso blocks" on a blank line or C-style comment close
line_modified = None
if not line_stripped:
in_block = False
elif line_stripped.endswith("*/"):
in_block = False
else:
match = re.match(start_pattern,
line) # not stripped line
if match:
indent = " " * len(match.group(1))
in_block = True
line_modified = match.group(
1) + _process_stripped_line(
match.group(2).strip())
elif in_block:
line_modified = indent + _process_stripped_line(
line_stripped)
if line_modified:
print(line_modified) # prints to the file
else:
print(line, end="") # prints to the file

BASE_DIRS = ["src", "include"]
EXT = [".c", ".cxx", ".cpp", ".cu", ".h", ".hpp", ".hxx"]
EXCLUDE_DIRS = ["tests", "tutorials", "ftn-auto", "ftn-custom", "benchmarks"]

def main():
""" Process everything """
for base in BASE_DIRS:
for root, dirs, files in os.walk(base):
for filename in files:
if os.path.splitext(filename)[1] in EXT:
filename_full = os.path.join(root, filename)
print("FILE ---", filename_full)
process_file(filename_full)
for exclude_dir in EXCLUDE_DIRS:
if exclude_dir in dirs:
dirs.remove(exclude_dir)

if __name__ == "__main__":
main()
```

show more ...


# aed4548f 29-Apr-2022 Barry Smith <bsmith@mcs.anl.gov>

Remove the rest of the PetscCheckFalse() from the mat directory

Commit-type: housekeeping
/spend 45m


# b55be68a 19-Apr-2022 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 73999a79 19-Apr-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/fix-aij-matis-convert' into 'release'

Fix a bug when converting MATAIJ with bs >1 to MATIS

See merge request petsc/petsc!5140


# ebf8cefb 19-Apr-2022 Junchao Zhang <jczhang@mcs.anl.gov>

Mat: fix a bug when converting AIJ with bs >1 to MATIS

Reported-by: Xu Hui <459543524@qq.com>


# 527ad957 11-Apr-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-04-01/fix-petsc-options-begin-end/release' into 'main'

Remove bogus error returns from Begin/End() macros

See merge request petsc/petsc!5069


12345678910>>...27