DMCreateMassMatrix_Plex: support multiple fieldsPetscDS: Allow per integration data to be stored at the end of the constant array- Add PetscDSSetIntegrationParameters()- Add numFuncConstants
Merge remote-tracking branch 'origin/release'
Minor docs fixes
Plex: Fix boundary integrals- PetscFEIntegrateBd() now initializes its integrand- Fix many multifield bugs in this routine
DS: Turn on print debugging
Remove extra "" after format specifier ending a stringgit grep -l -E "_FMT \"\"," | xargs sed -r -i'' 's#_FMT \"\",#_FMT,#g'
Remove carriage return in Petsc(Assert|Check)()git grep -l -E "Petsc(Assert|Check)\(.*\\\n\"[,)]" | xargs sed -r -i'' 's#Petsc(Assert|Check)\((.*)\\n"([,)])#Petsc\1\(\2\"\3#g'Suggested-by: Stefan
Remove carriage return in Petsc(Assert|Check)()git grep -l -E "Petsc(Assert|Check)\(.*\\\n\"[,)]" | xargs sed -r -i'' 's#Petsc(Assert|Check)\((.*)\\n"([,)])#Petsc\1\(\2\"\3#g'Suggested-by: Stefano Zampini
show more ...
Remove multiple parentheses and extra semicolongit grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g
Remove multiple parentheses and extra semicolongit grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g'git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g'git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'
checkbadSource: rules for PetscFunctionBegin and derivatives
Plex+FE: Fix bug in DMPlexComputeIntegral()- Did not initialize local int for FV- Initialize integrand before calling pointwise function in PetscFEIntegrate()
Missing calls to PetscSafePointerPlusOffset()
Sys: add PetscSafePointerPlusOffset() to pacify UBSan
LIBBASE is no longer used in make so remove it
PetscFE: Add Jacobian type argument to PetscFEIntegrateBdJacobian()
FE: Integration over a cohesive cell of a non-cohesive field should use both sides
Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.Thanks-to: Jed Brown
Remove DIRS variable and unneeded tabs from all makefiles since no longer neededCommit-type: housekeeping
Merge branch 'zach/bug-dm-swarm-tensor-permutation' into 'main'Plex: Bug fix and tests for coordinate tensor orderingSee merge request petsc/petsc!6843
Plex: Various tensor ordering fixesCherry-picked from @knepley:- DMPlexMatSetClosureGeneral() now takes flag for closure permutation- Add DMPlexMatSetClosure_Internal() which takes flag for closu
Plex: Various tensor ordering fixesCherry-picked from @knepley:- DMPlexMatSetClosureGeneral() now takes flag for closure permutation- Add DMPlexMatSetClosure_Internal() which takes flag for closure permutation- Add DMPlexVecGetClosure_Internal() with flag to turn off closure permutation- Turn off closure permutation in L2 diff calculation- Add DMUseTensorOrder()- Add DMPlexSNESComputeResidualCEED()- Cleanup SNES ex13
PetscFE: add PETSCFEVECTORReductions in the cost of computing, storing, and applyinga Tabulation can be achieved for a finite element spacethat is a vector of "scalar" finite elements (the "scala
PetscFE: add PETSCFEVECTORReductions in the cost of computing, storing, and applyinga Tabulation can be achieved for a finite element spacethat is a vector of "scalar" finite elements (the "scalar"element itself could be vector-valued).Reductions in the cost of storing and applyinga Tabulation can't be realized until the PetscTabulation structureitself is changed, but at the very least reduction in the cost ofcomputing a tabulation is possible with a new PetscFEType,PETSCFEVECTOR.To complete the interface, we also add PETSCDUALSPACESUM,a dual space whose dual basis is the sum of other dual bases,that parallels PETSCSPACESUM (the space and dual space ofa PETSCFEVECTOR are a PETSCSPACESUM and PETSCDUALSPACESUM,respectively).To allow the user to specify whether thebasis vector and value components of the PETSCFEVECTORof blockwise or interleaved, we also have to make surePETSCSPACESUM and PETSCDUALSPACESUM can have blockwiseor interleaved behavior. We add both capabilities.PETSCFEVECTOR is now used by detecting compatiblevector-valued dual and primal spaces in PetscFECreateFromSpaces().
Add static to internal functions
Manual linter fixes: dm
Plex+FEM: Give all input data to each side of fault
Plex: Hybrid cells cannot have derivatives in the transverse direction
Profiling: Add composed functions for default log handler functionsThis makes them extensible to other implementations.Where appropriate, the global log handler will now dispatchthese functions t
Profiling: Add composed functions for default log handler functionsThis makes them extensible to other implementations.Where appropriate, the global log handler will now dispatchthese functions to all running log handlers.It is not always appropriate to dispatch to all running log handlers:when a single return value is expected or when a filenameis given, it will continue to dispatch only to the defaultlog handler.
1234567