Conversation
Author
|
Propagator does not seem to reach the desired convergence rate for linear splines (even if it still converges and the rate is somewhat close) while the others all seem to work fine, so for the moment the test file does not test for spline degree p = 1. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a new propagator called
CurlCurlSolve()to find weak solutions to the curl-curl problem.Find$\mathbf{E} \in H(\textnormal{curl},\Omega)$ such that
where$\mathbf J _i:\Omega \to \mathbb R^3$ is a real-valued vector field and $\sigma \in \mathbb R$ is a scalar.
Boundary terms from integration by parts are assumed to vanish.
The equation is discretized as
where$\mathbb M^1$ and $\mathbb M^2$ are objects of the $\mathbb P^1$ is the projector into the space $V^1_h$ .
struphy.feec.mass.WeightedMassOperatorsclass, andThe method does not converge properly for sufficiently high spline degrees and sufficiently fine mesh grids due to the inherent ill-conditionedness of the curl-curl problem; this should be solved by proper initial conditioning.
This PR also adds tests for the new propagator.