-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit c058c08 Author: ttruster <timothy.truster@gmail.com> Date: Wed Nov 30 13:23:01 2022 -0500 Start revising the documentation finished most of index for kernel, constraint, scalar commit 5348aa5 Author: ttruster <timothy.truster@gmail.com> Date: Wed Nov 30 13:20:06 2022 -0500 Allow for 1d/2d/3d scalar for periodic conditions Fix a typo commit 3afaf21 Merge: 06c2d09 a77fef9 Author: ttruster <timothy.truster@gmail.com> Date: Mon Nov 14 23:57:28 2022 -0500 Clean up some tests remove parameter from Mortar base Add flags to compute only rows of R and J Add tensor mechanics case to check the row assembly Verify that tests run correctly commit a77fef9 Merge: 54f3d3a 094bc01 Author: ttruster <timothy.truster@gmail.com> Date: Fri Nov 11 16:42:38 2022 -0500 Merge pull request #2 from lindsayad/mortar-scalar-assembly Simplify residual object code commit 094bc01 Author: Alex Lindsay <alexlindsay239@gmail.com> Date: Fri Nov 11 12:48:50 2022 -0800 Simplify residual object code Make it so that residual objects residuals and Jacobian routines don't have to be interwoven with pound defines commit aa6ce99 Author: Alex Lindsay <alexlindsay239@gmail.com> Date: Fri Nov 11 12:39:41 2022 -0800 Revert "Add error check for non-sparse AD" This reverts commit 0b46030. commit b285c69 Author: Alex Lindsay <alexlindsay239@gmail.com> Date: Fri Nov 11 12:39:30 2022 -0800 Revert "Add other error checks to see if that works." This reverts commit b4dd527. commit 06c2d09 Author: ttruster <timothy.truster@gmail.com> Date: Mon Nov 14 23:51:43 2022 -0500 Clean up some tests remove parameter from Mortar base Add flags to compute only rows of R and J Add tensor mechanics case to check the row assembly Verify that tests run correctly commit 54f3d3a Author: ttruster <timothy.truster@gmail.com> Date: Fri Nov 11 14:55:56 2022 -0500 Add other error checks to see if that works. commit 309881a Author: ttruster <timothy.truster@gmail.com> Date: Fri Nov 11 00:21:15 2022 -0500 Add error check for non-sparse AD commit 1f5ccd4 Merge: b3cbe43 b4017b3 Author: ttruster <timothy.truster@gmail.com> Date: Thu Nov 10 23:53:55 2022 -0500 Merge pull request #1 from lindsayad/mortar-scalar-assembly Make residual-and-Jacobian separate work and test commit b4017b3 Author: Alex Lindsay <alexlindsay239@gmail.com> Date: Thu Nov 10 18:28:02 2022 -0800 Make residual-and-Jacobian separate work and test commit b3cbe43 Author: ttruster <timothy.truster@gmail.com> Date: Thu Nov 10 23:39:07 2022 -0500 Add separate assembly case for two scalar variables Add a bunch more comments to document which terms are done where Verified with test case commit cfd5462 Author: ttruster <timothy.truster@gmail.com> Date: Wed Nov 9 15:19:55 2022 -0500 Move test sources back to test app instead of module commit 9528cb5 Author: ttruster <timothy.truster@gmail.com> Date: Wed Nov 9 00:07:42 2022 -0500 Fix error of missing () in residual integration loop Add test cases and gold files for the 2d homogenization commit 33ae53e Author: ttruster <timothy.truster@gmail.com> Date: Sun Nov 6 01:04:19 2022 -0500 Now the code compiles but doesn't converge yet commit 0d1942c Author: ttruster <timothy.truster@gmail.com> Date: Sun Nov 6 00:45:23 2022 -0400 First attempt at making elasticity kernel test with scalars. Fails to link with 'thunk' errors.
- Loading branch information
Showing
59 changed files
with
3,940 additions
and
219 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
framework/doc/content/source/constraints/MortarScalarBase.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# MortarScalarBase | ||
|
||
describe the parameters like the kernel system | ||
say what loops are added, primary and other scalars | ||
|
||
The `MortarScalarBase` is the automatic differentiation version of [`PenaltyPeriodicSegmentalConstraint`](PenaltyPeriodicSegmentalConstraint.md). | ||
|
||
Mention AD version provided, and with warning for global only. | ||
|
||
!syntax description /Constraints/MortarScalarBase | ||
|
||
!syntax parameters /Constraints/MortarScalarBase | ||
|
||
!syntax inputs /Constraints/MortarScalarBase | ||
|
||
!syntax children /Constraints/MortarScalarBase |
11 changes: 7 additions & 4 deletions
11
framework/doc/content/source/constraints/PenaltyPeriodicSegmentalConstraint.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
framework/doc/content/source/constraints/PeriodicSegmentalConstraint.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# KernelScalarBase | ||
|
||
Mention AD version provided, and with warning for global only. | ||
describe the parameters like the kernel system | ||
say what loops are added, primary and other scalars | ||
|
||
This Kernel implements part of the equation that enforces the constraint of | ||
|
||
\begin{equation} | ||
\int_{\Omega} \phi = V_0 | ||
\end{equation} | ||
|
||
where $V_0$ is a given constant, using a Lagrange multiplier approach. The residual of $\phi$ related to the Lagrange multiplier is given as: | ||
|
||
\begin{equation} | ||
F^{(\phi)}_i \equiv \lambda^h \int_{\Omega} \varphi_i \;\text{d}\Omega \label{eq:eq1} | ||
\end{equation} | ||
|
||
In particular, this Kernel implements the residual contribution from | ||
the $\lambda$ in [eq:eq1] , and their Jacobian contributions. See also [AverageValueConstraint.md] for the residual of the Lagrange multiplier variable. | ||
|
||
The detailed description of the derivation can be found at [scalar_constraint_kernel](https://github.com/idaholab/large_media/blob/master/framework/scalar_constraint_kernel.pdf). | ||
|
||
!syntax parameters /Kernels/KernelScalarBase | ||
|
||
!syntax inputs /Kernels/KernelScalarBase | ||
|
||
!syntax children /Kernels/KernelScalarBase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.