Skip to content

Draft: A-Psi inside of A-formulation

Description

For the A-Psi,A Formulation there has to be implemented two integrators. For both it is necessary to create new integrators.

\int_{\Omega} (\nabla \times {\mathbf{A}}) \nu (\nabla \times {\mathbf{A}^{'}}) + \int_{\Omega_{\mathbf{v}}} {\color{purple}\gamma_{\mathbf{v}} \nabla(\mathbf{A} \cdot \mathbf{v})} + \int_{\Omega_{\mathbf{v}}} (\nabla \cdot {\mathbf{A}}) \nu_{\mathbf{v}} (\nabla \cdot{\mathbf{A}^{'}})  {\color{purple}- \int_{\Omega_{\mathbf{v}}} \gamma(\mathbf{v} \times (\nabla \times \mathbf{A}))} \cdot \mathbf{A}^{'}
    = \int_{\Omega_i} {\color{blue} \mathbf{J_i}}\cdot \mathbf{A}^{'}

div(A): here the divergence operator has to be extend for the FeHCurl space. Because there is no global derivative available for this class, the operator has to be implemented directly in HCurlElemsHi.

grad(A*v): here the velocity is being defined as a PtrCoefFct in the formulation. The idea is to make a new integrator in the gradientOperator class. More specific, we compute the innerproduct of two shape functions and compute the gradient of this inner product, the velocity and the magnetic vector potential should be multiplied to the gradient.

Check before assigning to a maintainer for review

  • The history is clean
  • New Code is well-documented and understandable
  • There is a test case (in case of new functionality)
  • Every commit passes the pipeline

Maintainer checks before merge

  • Review is approved, and all comments are resolved
  • Check for Testsuite changes, if yes check
    • Testsuite merge request merges fast-forward
    • Testsuite-submodule SHA of every CFS commit references a commit in Testsuite Merge Request
    • Testsuite-submodule SHA of last CFS commit points to HEAD of corresponding Testsuite branch
  • Pipeline passes for every commit
    • all tests of the stage test pass
    • tests in the stage test_extra run
    • new tests are actually running (e.g. check if they appear on CDash)

Merge request reports