History log of /petsc/src/dm/dt/fe/interface/fegeom.c (Results 26 – 50 of 68)
Revision Date Author Comments
# 38f67375 27-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-style-one-liners' into 'main'

Remove braces from one-liners

See merge request petsc/petsc!5557


# 48a46eb9 27-Aug-2022 Pierre Jolivet <pierre@joliv.et>

Remove braces from one-liners


# 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


# 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


# 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 ...


# f882803c 26-Mar-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-02-23/variadic-chkerr' into 'main'

Variadic CHKERRQ()

See merge request petsc/petsc!4889


# 9566063d 25-Mar-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

The great renaming:

- CHKERRQ() -> PetscCall()
- CHKERRV() -> PetscCallVoid()
- CHKERRMPI() -> PetscCallMPI()
- CHKERRABORT() -> PetscCallAbort()
- CHKERRCONTINUE() -> PetscCallContinue()
- CHKERRXX

The great renaming:

- CHKERRQ() -> PetscCall()
- CHKERRV() -> PetscCallVoid()
- CHKERRMPI() -> PetscCallMPI()
- CHKERRABORT() -> PetscCallAbort()
- CHKERRCONTINUE() -> PetscCallContinue()
- CHKERRXX() -> PetscCallThrow()
- CHKERRCXX() -> PetscCallCXX()
- CHKERRCUDA() -> PetscCallCUDA()
- CHKERRCUBLAS() -> PetscCallCUBLAS()
- CHKERRCUSPARSE() -> PetscCallCUSPARSE()
- CHKERRCUSOLVER() -> PetscCallCUSOLVER()
- CHKERRCUFFT() -> PetscCallCUFFT()
- CHKERRCURAND() -> PetscCallCURAND()
- CHKERRHIP() -> PetscCallHIP()
- CHKERRHIPBLAS() -> PetscCallHIPBLAS()
- CHKERRHIPSOLVER() -> PetscCallHIPSOLVER()
- CHKERRQ_CEED() -> PetscCallCEED()
- CHKERR_FORTRAN_VOID_FUNCTION() -> PetscCallFortranVoidFunction()
- CHKERRMKL() -> PetscCallMKL()
- CHKERRMMG() -> PetscCallMMG()
- CHKERRMMG_NONSTANDARD() -> PetscCallMMG_NONSTANDARD()
- CHKERRCGNS() -> PetscCallCGNS()
- CHKERRPTSCOTCH() -> PetscCallPTSCOTCH()
- CHKERRSTR() -> PetscCallSTR()
- CHKERRTC() -> PetscCallTC()

show more ...


# b122ec5a 24-Mar-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

PetscInitialize() and PetscFinalize() wrapped:

- ierr = PetscInitialize();if (ierr) return ierr;
+ CHKERRQ(PetscInitialize());

- ierr = PetscFinalize();
- return ierr;
+ CHKERRQ(PetscFinalize());
+

PetscInitialize() and PetscFinalize() wrapped:

- ierr = PetscInitialize();if (ierr) return ierr;
+ CHKERRQ(PetscInitialize());

- ierr = PetscFinalize();
- return ierr;
+ CHKERRQ(PetscFinalize());
+ return 0;

show more ...


# 5f80ce2a 24-Feb-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

chkerr and friends wrapped


# aac8517f 08-Jan-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-plex-multiple-hybrid' into 'main'

DM+FE: Allow multiple cohesive fields

See merge request petsc/petsc!4616


# 5fedec97 17-Aug-2021 Matthew G. Knepley <knepley@gmail.com>

DM+FE: Allow multiple cohesive fields
- Changed name from "hybrid" cell to "cohesive" cell
- Fixed check for cohesive field in PetscFE and DM
- Fixed DMCreateDS() for new scheme
- Added PetscDSIsCohe

DM+FE: Allow multiple cohesive fields
- Changed name from "hybrid" cell to "cohesive" cell
- Fixed check for cohesive field in PetscFE and DM
- Fixed DMCreateDS() for new scheme
- Added PetscDSIsCohesive() and PetscDSGetNumCohesive()
- Replaced PetscDSGetHybrid() with PetscDSGetCohesive() and
PetscDSSetHybrid() with PetscDSSetCohesive()
- Added PetscDSGetFieldOffsetCohesive()
- Fixed hybrid Jacobian integration
- Hybrid Jacobian integration needs to know the side of the interface, just like residual integration
- Needs to use cohesive field offsets
- Update takes the side as an argument

show more ...


# 6630b879 01-Jun-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/fix-plex-hybrid-geometry' into 'main'

Plex: Fix hybrid integration

See merge request petsc/petsc!4048


# 79b86a80 30-May-2021 Matthew G. Knepley <knepley@gmail.com>

Plex: Fix hybrid integration
- This will obviously go away after I figure out embedded integration
- Add hybrid tag to FEGeom
- Check tag when deciding what cell geometry we want


# 6d675eed 24-May-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/fix-plex-nonaffine-integration' into 'main'

FE: Fix non-affine integration

See merge request petsc/petsc!4009


# 6587ee25 21-May-2021 Matthew G. Knepley <knepley@gmail.com>

FE: Fix non-affine integration
- The test function gradients were being pushed forward with the wrong
Jacobian
- Affine worked because the last Jacobian was always being used


# 005520e9 13-May-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2021-03-26/clang-static-linter' into 'main'

Feature: libClang PETSc Macro Static Analyzer

See merge request petsc/petsc!3773


# 064a246e 11-May-2021 Jacob Faibussowitsch <jacob.fai@gmail.com>

Linter using libClang that checks PetscValidHeaderSpecifcType, PetscValidHeaderSpecific, PetscValidHeader, PetscValid[XXX]Pointer, PetscValidType, PetscCheckSameComm, PetscValidLogicalCollectiveXXX f

Linter using libClang that checks PetscValidHeaderSpecifcType, PetscValidHeaderSpecific, PetscValidHeader, PetscValid[XXX]Pointer, PetscValidType, PetscCheckSameComm, PetscValidLogicalCollectiveXXX for validity. Automatically generates diff files for problems with a known solution.

show more ...


# ed0ed7c6 19-Sep-2019 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into 'barry/2019-08-22/fix-fblaslapack-for-nag'

# Conflicts:
# lib/petsc/conf/test


# ce6be926 10-Sep-2019 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-doc-space' into 'master'

Knepley/feature doc space

See merge request petsc/petsc!2016


# 2b99622e 22-Aug-2019 Matthew G. Knepley <knepley@gmail.com>

PetscFE: Fix documentation


# 641a501f 02-Jun-2019 Matthew Knepley <knepley@gmail.com>

Merged in knepley/feature-dualspace-bdm (pull request #1699)

Knepley/feature dualspace bdm


# 41418987 12-May-2019 Matthew G. Knepley <knepley@gmail.com>

PetscFE: Compute more face geometry
- Added Jacobian and its determinant to PetscFEGEom


# b0f52d29 28-Jan-2019 Joseph Pusztay <josephpusztay@Josephs-MacBook-Pro.local>

Merge branch 'master' into jpusztay/feature-swarm-symplectic-example


# 940dfb0a 28-Jan-2019 Joseph Pusztay <josephpu@buffalo.edu>

Merged petsc/petsc into master


123