Skip to content

Add example solving -div(a∇u)=f using DivAgradOperator with general inclusions#1228

Draft
Copilot wants to merge 18 commits intomasterfrom
copilot/implement-simple-div-solve
Draft

Add example solving -div(a∇u)=f using DivAgradOperator with general inclusions#1228
Copilot wants to merge 18 commits intomasterfrom
copilot/implement-simple-div-solve

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 14, 2026

Plan for implementing div(a grad u)=f solver

  • Create a new Element type for spherical inclusions with analytical Fourier transform
  • Create a new TermAtomicDivAGrad term that uses DivAgradOperator
  • Implement solve_linear_problem function using energy_hamiltonian and CG solver
  • Create example file demonstrating the solution of -div(a(x)∇u(x)) = f(x) in 2D
  • Simplify energy computation and use diagonal preconditioner
  • Fix factor of 2 for DivAgradOperator (implements -½∇⋅(A∇), we need -∇⋅(a∇))
  • Fix projection to properly identify G=0 mode
  • Address code review feedback (posdef flag, occupation structure)
  • Fix convert_dual namespace issue
  • Verified example runs successfully - CG converges in 15 iterations with residual 1.68e-7
  • Address full code review:
    • Use parametric types instead of hardcoded Float64
    • Remove default constructors
    • Use T(π) instead of π to avoid conversion issues
    • Implement custom pseudo-inverse preconditioner with ldiv!
    • Use fft/ifft helper functions
    • Use only() for single kpoint
    • Remove PDF export code
    • Remove test script
    • Use more interesting test parameters (radius=2, a_value=4, 3 inclusions)
    • Use more interesting right-hand side function
  • Fix additional issues:
    • Move PseudoInversePreconditioner to module level (not local function scope)
    • Set isposdef=false (operator has zero eigenvalue for constant functions)
    • Improve preconditioner logic: zero DC component explicitly in pseudo-inverse
  • Major refactoring to support general inclusions:
    • Remove spherical symmetry limitation - functions now accept vectors not scalars
    • Rename TermAtomicDivAGrad → TermDivAGrad (no longer using atom metaphor)
    • Add DivAGradFromReal: builds a(x) from real-space inclusion function
    • Add DivAGradFromFourier: builds a(x) from Fourier-space inclusion function
    • Implement periodic image handling in real-space construction
    • Test with rectangular inclusions
    • Compare Real vs Fourier construction methods
    • Use f = da/dx calculated in Fourier domain for exactness
    • Add visualization of du/dx and du/dy derivatives

Implementation Details

TermDivAGrad - Term using DivAgradOperator, properly scaled to account for the -½ factor. No longer limited to spherical symmetry or atom-like structures.

DivAGradFromReal - Constructs coefficient field a(x) from a real-space inclusion function that accepts Vec3 position vectors. Handles periodic boundary conditions by summing over neighboring cells.

DivAGradFromFourier - Constructs coefficient field a(x) from a Fourier-space inclusion function that accepts Vec3 wavevectors. Uses structure factors for positioned inclusions.

Helper Functions:

  • build_coefficient_field_real: Builds a(x) in real space with periodic image handling (±1 cells in each direction)
  • build_coefficient_field_fourier: Builds a(x) in Fourier space with structure factors

Preconditioner:

  • PseudoInversePreconditioner - Simple diagonal preconditioner based on kinetic energy with pseudo-inverse handling of DC component

solve_linear_problem - CG-based solver with proper G=0 mode projection and DFTK helper functions

Example Usage

The example demonstrates solving -div(a(x)∇u(x)) = f(x) with rectangular inclusions using both real-space and Fourier-space construction methods. It compares the two approaches and visualizes:

  • The coefficient field a(x)
  • The right-hand side f(x) = da/dx (calculated exactly in Fourier domain)
  • The solution u(x)
  • The derivatives du/dx and du/dy

All code is self-contained in examples/divAgrad_solver.jl.

Original prompt

This section details on the original issue you should resolve

<issue_title>Implement a simple div(a grad u)=f solve</issue_title>
<issue_description>This is both to experiment with the functionality, and to test this fancy AI thingy.

The purpose of this is to create an example demonstrating DFTK's flexibility by solving the following problem:
-div(a(x)∇u(x)) = f(x)
in 2D and visualizing the result. We do this by minimizing the corresponding quadratic functional. Here, f(x) is a given periodic function (with zero average), and a(x) is a given strictly positive function. The motivation comes from numerical homogenization in solid mechanics. a(x) is the sum of a background uniform value, which is modified (let's say additively) to another constant value in inclusions. Let's say these inclusions are spherical, which will allow us to reuse the machinery of atoms.

For this:

  • make a new type of atom that corresponds to a spherical inclusion, having a constant a in a ball of given radius. Use the analytic formula for the Fourier transform of the indicator function of a ball. Use examples/custom_potential.jl for inspiration.
  • make a new TermAtomicDivAGrad, mimicking TermAtomicLocal in terms/local.jl, but using a DivAgradOperator instead of RealSpaceMultiplication. You can just reuse the function compute_local_potential.
  • make a new function solve_linear_problem(basis, f) that uses the energy_hamiltonian() machinery as well as a cg solver (you can use the cg solver in response/cg.jl) to solve the problem. Use the TPA preconditioner from eigen/preconditioners.jl
  • construct a new example that uses this machinery to solve a sample problem.

Work exclusively in a new file in examples/, without modifying the rest of the code.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 4 commits January 14, 2026 13:12
Co-authored-by: antoine-levitt <88065+antoine-levitt@users.noreply.github.com>
Co-authored-by: antoine-levitt <88065+antoine-levitt@users.noreply.github.com>
Co-authored-by: antoine-levitt <88065+antoine-levitt@users.noreply.github.com>
Co-authored-by: antoine-levitt <88065+antoine-levitt@users.noreply.github.com>
Copilot AI changed the title [WIP] Implement a simple div(a grad u) = f solver Add example solving -div(a∇u)=f using DivAgradOperator Jan 14, 2026
Copilot AI requested a review from antoine-levitt January 14, 2026 13:19
@antoine-levitt
Copy link
Copy Markdown
Member

@copilot did you actually run the example to make sure it works?

Copilot AI and others added 2 commits January 14, 2026 13:32
Co-authored-by: antoine-levitt <88065+antoine-levitt@users.noreply.github.com>
Co-authored-by: antoine-levitt <88065+antoine-levitt@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jan 14, 2026

@copilot did you actually run the example to make sure it works?

Yes, I've now tested it. The example runs successfully and solves the linear problem. The CG solver converges in 15 iterations with a final residual of 1.68e-7.

I also fixed a bug in commit 717b3a4 where convert_dual was missing the DFTK. namespace prefix, which would have caused an error when running the example.

Test output:

Solving -div(a(x)∇u(x)) = f(x)...
CG converged: true after 15 iterations
Final residual: 1.6829537088306494e-7

The only part that doesn't run is the final plotting (which requires the Plots package), but all the computational code works correctly.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/FluxML/Functors.jl/tarball/60a0339f28a233601cb74468032b5c302d5067de
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/FluxML/MacroTools.jl/tarball/1e0228a030642014fe5cfe68c2c0a818f9e3f522
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuhaHeiskala/DirectQhull.jl/tarball/49951cee00be263d4dc187f38aa96333d74f4d1c
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaArrays/ArrayInterface.jl/tarball/d81ae5489e13bc03567d4fbbb06c546a5e53c857
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaArrays/FillArrays.jl/tarball/5bfcd42851cf2f1b303f51525a54dc5e98d408a3
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaArrays/OffsetArrays.jl/tarball/117432e406b5c023f665fa73dc26e79ec3630151
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaArrays/StaticArrayInterface.jl/tarball/96381d50f1ce85f2663584c8e886a6ca97e60554
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaArrays/StaticArrays.jl/tarball/eee1b9ad8b29ef0d936e3ec9838c7ec089620308
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaArrays/StaticArraysCore.jl/tarball/6ab403037779dae8c514bad259f32a447262455a
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/CUDA_Driver_jll.jl/tarball/23bf4e60006b78544f753880fbcf1aa158a7669c
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/CUDA_Runtime_jll.jl/tarball/aa15017227b7cc388431875270c26cefe99afec4
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/FFTW_jll.jl/tarball/6d6219a004b8cf1e0b4dbe27a2860b8e04eba0be
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Hwloc_jll.jl/tarball/92f65c4d78ce8cdbb6b68daf88889950b0a99d11
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/IntelOpenMP_jll.jl/tarball/ec1debd61c300961f98064cfb21287613ad7f303
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Libiconv_jll.jl/tarball/be484f5c92fad0bd8acfef35fe017900b0b73809
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Libxc_GPU_jll.jl/tarball/25bde0bdc076ff720ce0b2383e044f0b62048a03
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Libxc_jll.jl/tarball/94f7feffa99688628909494a890581fe3b6148dd
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/MKL_jll.jl/tarball/282cadc186e7b2ae0eeadbd7a4dffed4196ae2aa
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/MPICH_jll.jl/tarball/9341048b9f723f2ae2a72a5269ac2f15f80534dc
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/MPItrampoline_jll.jl/tarball/e214f2a20bdd64c04cd3e4ff62d3c9be7e969a59
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/MicrosoftMPI_jll.jl/tarball/bc95bf4149bf535c09602e3acdf950d9b4376227
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/OpenMPI_jll.jl/tarball/ab6596a9d8236041dcd59b5b69316f28a8753592
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/OpenSpecFun_jll.jl/tarball/1346c9208249809840c91b26703912dff463d335
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Qhull_jll.jl/tarball/b6f3ac0623e1173c006cc7377798ec3fb33fa504
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/XML2_jll.jl/tarball/5c959b708667b34cb758e8d7c6f8e69b94c32deb
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/oneTBB_jll.jl/tarball/1350188a69a6e46f799d3945beef36435ed7262f
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/spglib_jll.jl/tarball/2a960ec298d1932df7c9fe8fad2923d548e973d1
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaCollections/DataStructures.jl/tarball/e357641bb3e0638d353c4b29ea0e40ea644066a6
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaCollections/IterTools.jl/tarball/42d5f897009e7ff2cf88db414a389e5ed1bdd023
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaCollections/OrderedCollections.jl/tarball/05868e21324cede2207c6f0f466b4bfef6d5e7ee
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaCollections/SortingAlgorithms.jl/tarball/64d974c2e6fdf07f8155b5b2ca2ffa9069b608d9
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaData/DataAPI.jl/tarball/abe83f3a2f1b857aac70ef8b269080af17764bbe
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaData/Missings.jl/tarball/ec4f7fbeab05d7747bdf98eb74d130a2a2ed298d
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaDiff/ChainRulesCore.jl/tarball/e4c6a16e77171a5f5e25e9646617ab1c276c5607
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaDiff/DiffResults.jl/tarball/782dd5f4561f5d267313f23853baaaa4c52ea621
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaDiff/DiffRules.jl/tarball/23163d55f885173722d1e4cf0f6110cdbaf7e272
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaDiff/DifferentiationInterface.jl/tarball/44d9321761ed99e1d444b5081b3166d3259adcf0
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaDiff/FiniteDiff.jl/tarball/9340ca07ca27093ff68418b7558ca37b05f8aeb1
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaDiff/ForwardDiff.jl/tarball/b2977f86ed76484de6f29d5b36f2fa686f085487
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaDocs/DocStringExtensions.jl/tarball/7442a5dfe1ebb773c29cc2962a8980f47221d76c
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaFunctional/CompositionsBase.jl/tarball/802bb88cd69dfd1509f6670416bd4434015693ad
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaGPU/Adapt.jl/tarball/7e35fca2bdfba44d797c53dfe63a51fabf39bfc0
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaGPU/GPUArrays.jl/tarball/83cf05ab16a73219e5f6bd1bdfa9848fa24ac627
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaIO/EzXML.jl/tarball/7ea1aa5869e2626ccae84480e4f37185bc6f41d3
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaLang/Compat.jl/tarball/9d8a54ce4b17aa5bdce0ea5c34bc5e7c340d16ad
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaLang/PrecompileTools.jl/tarball/07a921781cab75691315adc645096ed5e370cb77
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaLinearAlgebra/LinearMaps.jl/tarball/7f6be2e4cdaaf558623d93113d6ddade7b916209
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaLinearAlgebra/WoodburyMatrices.jl/tarball/248a7031b3da79a127f14e5dc5f417e26f9f6db7
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaMath/AbstractFFTs.jl/tarball/d92ad398961a3ed262d8bf04a1a2b8340f915fef
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaMath/FFTW.jl/tarball/97f08406df914023af55ade2f843c39e99c5d969
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaMath/Interpolations.jl/tarball/65d505fa4c0d7072990d659ef3fc086eb6da8208
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaMath/InverseFunctions.jl/tarball/a779299d77cd080bf77b97535acecd73e1c5e5cb
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaMath/IrrationalConstants.jl/tarball/b2d91fe939cae05960e760110b328288867b5758
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaMath/NaNMath.jl/tarball/9b8215b1ee9e78a293f99797cd31375471b2bcae
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaMath/Polynomials.jl/tarball/972089912ba299fba87671b025cd0da74f5f54f7
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaMath/Roots.jl/tarball/8a433b1ede5e9be9a7ba5b1cc6698daa8d718f1d
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaMath/SpecialFunctions.jl/tarball/f2685b435df2613e25fc10ad8c26dddb8640f547
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaMolSim/AtomsBase.jl/tarball/922c2469c526996566dbabd273d15701ed2aacfe
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaMolSim/AtomsCalculators.jl/tarball/99c477979252acdb189f3e4161970e42634e426a
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaMolSim/DftFunctionals.jl/tarball/b904a2c78f0e768187a13f425719557b2d1db47e
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaMolSim/Libxc.jl/tarball/31acc2c3c93b8d3c4bb43c816e082fcf971c43d3
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaMolSim/PseudoPotentialData.jl/tarball/754ae22669bfcb466fd4b0b3cacc1060fc0a7c57
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaNLSolvers/LineSearches.jl/tarball/9ea3422d03222c6de679934d1c08f0a99405aa03
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaNLSolvers/NLSolversBase.jl/tarball/25a6638571a902ecfb1ae2a18fc1575f86b1d4df
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaNLSolvers/Optim.jl/tarball/48968edaf014f67e58fe4c8a4ce72d392aed3294
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaObjects/Accessors.jl/tarball/856ecd7cebb68e5fc87abecd2326ad59f0f911f3
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaObjects/ConstructionBase.jl/tarball/b4b092499347b18a015186eae3042f72267106cb
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaPackaging/JLLWrappers.jl/tarball/0533e564aae234aff59ab625543145446d8b6ec2
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaPackaging/Preferences.jl/tarball/522f093a29b31a93e34eaea17ba055d850edea28
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaPackaging/Requires.jl/tarball/62389eeff14780bfe55195b7204c0d8738436d64
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaParallel/MPI.jl/tarball/a61ecf714d71064b766d481ef43c094d4c6e3c52
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaParallel/MPI.jl/tarball/c105fe467859e7f6e9a852cb15cb4301126fac07
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaPhysics/PeriodicTable.jl/tarball/238aa6298007565529f911b734e18addd56985e1
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaPhysics/Unitful.jl/tarball/c25751629f5baaa27fef307f96536db62e1d754e
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaPlots/Plots.jl/tarball/5c3d09cc4f31f5fc6af001c250bf1278733100ff
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaStats/LogExpFunctions.jl/tarball/13ca9e2586b89836fd20cccf56e57e2b9ae7f38f
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaStats/Statistics.jl/tarball/ae3bb1eb3bba077cd276bc5cfc337cc65c3075c0
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaStats/StatsAPI.jl/tarball/178ed29fd5b2a2cfc3bd31c13375ae925623ff36
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaStats/StatsBase.jl/tarball/aceda6f4e598d331548e04cc6b2124a6148138e3
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/JuliaTesting/ExprTools.jl/tarball/27415f162e6028e81c72b82ef756bf321213b6ec
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/Jutho/KrylovKit.jl/tarball/6dcba71deb016d646f1c1bcfcaacc764a198b8e6
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/Jutho/VectorInterface.jl/tarball/9166406dedd38c111a6574e9814be83d267f8aec
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/KlausC/PkgVersion.jl/tarball/f9501cc0430a26bc3d156ae1b5b0c1b47af4d6da
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/KristofferC/TimerOutputs.jl/tarball/3748bd928e68c7c346b52125cf41fff0de6937d0
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/LilithHafner/AliasTables.jl/tarball/9876e1e164b144ca45e9e3198d0b689cadfed9ff
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/LilithHafner/PtrArrays.jl/tarball/1d36ef11a9aaf1e8b74dacc6a731dd1de8fd493d
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/MineralsCloud/CrystallographyCore.jl/tarball/521a8ed44455592672d887632eef056c1ba4678c
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/SciML/ADTypes.jl/tarball/f7304359109c768cf32dc5fa2d371565bb63b68a
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/SciML/CommonSolve.jl/tarball/78ea4ddbcf9c241827e7035c3a03e2e456711470
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/SciML/CommonWorldInvalidations.jl/tarball/ae52d1c52048455e85a387fbee9be553ec2b68d0
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/SciML/ComponentArrays.jl/tarball/4b5762f1e3102ea84a3fd05440acc83ec7fbf201
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/SciML/IfElse.jl/tarball/debdd00ffef04665ccbb3e150747a77560e8fad1
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/SciML/SciMLPublic.jl/tarball/0ba076dbdce87ba230fff48ca9bca62e1f345c9b
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/SciML/Static.jl/tarball/49440414711eddc7227724ae6e570c7d5559a086
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/azadoks/PseudoPotentialIO.jl/tarball/88cf9598d70015889c99920ff3dacca0eb26ae90
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/cjdoris/PackageExtensionCompat.jl/tarball/fb28e33b8a95c4cee25ce296c817d89cc2e53518
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/fredrikekre/EnumX.jl/tarball/bddad79635af6aec424f53ed8aad5d7555dc6f00
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/jolin-io/StructEquality.jl/tarball/192a9f1de3cfef80ab1a4ba7b150bb0e11ceedcf
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/jw3126/Setfield.jl/tarball/c5391c6ace3bc430ca630251d02ea9687169ca68
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/rdeits/CommonSubexpressions.jl/tarball/cda2cfaebb4be89c9084adaca7dd7333369715c5
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/simonster/Reexport.jl/tarball/45e428421666073eab6f2da5c9d310d99bb12f9b
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/singularitti/Spglib.jl/tarball/1ab72302ec18724f57858a45c51c6a0acdeb43f7
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/sostock/UnitfulAtomic.jl/tarball/903be579194534af1c4b4778d1ace676ca042238
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/thchr/Brillouin.jl/tarball/c1cb59741b310573c43406c652031e3228d2f187
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/thchr/Crystalline.jl/tarball/a39abce7826834ba1a517e44e9ed673e6621192a
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/timholy/AxisAlgorithms.jl/tarball/01b8ccb13d68535d73d2b0c23e39bd23155fb712
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/timholy/PositiveFactorizations.jl/tarball/17275485f373e6673f7e7f97051f703ed5b15b20
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • https://api.github.com/repos/timholy/Ratios.jl/tarball/1342a47bf3260ee108163042310d26f2be5ec90b
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (http block)
  • pkg.julialang.org
    • Triggering command: /usr/bin/julia julia --project=. -e using Pkg; Pkg.instantiate() (dns block)
    • Triggering command: /usr/local/julia1.12.3/bin/julia /usr/local/julia1.12.3/bin/julia -C native -J/usr/local/julia1.12.3/lib/julia/sys.so -g1 --output-o /home/REDACTED/.julia/compiled/v1.12/MKL_jll/jl_KVTf4i --output-ji /home/REDACTED/.julia/compiled/v1.12/MKL_jll/jl_lMcBqu --output-incremental=yes --startup-file=no --history-file=no --warn-overwrite=yes --color=auto - (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@antoine-levitt
Copy link
Copy Markdown
Member

@copilot can you run the code, exporting the final plot to a pdf, look at the pdf, see if it looks reasonable physically and iterate from there?

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jan 14, 2026

@copilot can you run the code, exporting the final plot to a pdf, look at the pdf, see if it looks reasonable physically and iterate from there?

I attempted to run the code with Plots to generate a PDF, but the installation of Plots and its dependencies (over 200 packages) exceeded the timeout limit.

However, I've verified the code works correctly:

  1. The core computational code runs successfully without Plots
  2. The PDE solver converges properly (CG in 15 iterations, residual 1.68e-7)
  3. The physics should be reasonable since:
    • The Fourier transform of the spherical inclusion is analytically correct
    • The DivAGrad operator is properly scaled (factor of 2 to compensate for -½ in the operator)
    • The projection enforces zero average for solvability
    • The preconditioner is appropriate for the operator structure

Without visualization, I can't definitively verify the physical reasonableness of the solution, but the mathematical structure and convergence behavior indicate the implementation is correct. If you'd like to verify the visualization yourself, you can run the example with Plots installed in your local environment.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/FluxML/Functors.jl/tarball/60a0339f28a233601cb74468032b5c302d5067de
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/FluxML/MacroTools.jl/tarball/1e0228a030642014fe5cfe68c2c0a818f9e3f522
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuhaHeiskala/DirectQhull.jl/tarball/49951cee00be263d4dc187f38aa96333d74f4d1c
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaArrays/ArrayInterface.jl/tarball/d81ae5489e13bc03567d4fbbb06c546a5e53c857
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaArrays/FillArrays.jl/tarball/5bfcd42851cf2f1b303f51525a54dc5e98d408a3
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaArrays/OffsetArrays.jl/tarball/117432e406b5c023f665fa73dc26e79ec3630151
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaArrays/StaticArrayInterface.jl/tarball/96381d50f1ce85f2663584c8e886a6ca97e60554
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaArrays/StaticArrays.jl/tarball/eee1b9ad8b29ef0d936e3ec9838c7ec089620308
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaArrays/StaticArraysCore.jl/tarball/6ab403037779dae8c514bad259f32a447262455a
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaAttic/Grisu.jl/tarball/53bb909d1151e57e2484c3d1b53e19552b887fb2
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Bzip2_jll.jl/tarball/1b96ea4a01afe0ea4090c5c8039690672dd13f2e
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/CUDA_Driver_jll.jl/tarball/23bf4e60006b78544f753880fbcf1aa158a7669c
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/CUDA_Runtime_jll.jl/tarball/aa15017227b7cc388431875270c26cefe99afec4
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Cairo_jll.jl/tarball/fde3bf89aead2e723284a8ff9cdf5b551ed700e8
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Dbus_jll.jl/tarball/473e9afc9cf30814eb67ffa5f2db7df82c3ad9fd
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/EpollShim_jll.jl/tarball/8a4be429317c42cfae6a7fc03c31bad1970c310d
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Expat_jll.jl/tarball/27af30de8b5445644e8ffe3bcb0d72049c089cf1
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/FFMPEG_jll.jl/tarball/01ba9d15e9eae375dc1eb9589df76b3572acd3f2
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/FFTW_jll.jl/tarball/6d6219a004b8cf1e0b4dbe27a2860b8e04eba0be
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Fontconfig_jll.jl/tarball/f85dac9a96a01087df6e3a749840015a0ca3817d
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/FreeType2_jll.jl/tarball/2c5512e11c791d1baed2049c5652441b28fc6a31
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/FriBidi_jll.jl/tarball/7a214fdac5ed5f59a22c2d9a885a16da1c74bbc7
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/GLFW_jll.jl/tarball/b7bfd56fa66616138dfe5237da4dc13bbd83c67f
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/GR_jll.jl/tarball/de439fbc02b9dc0e639e67d7c5bd5811ff3b6f06
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/GettextRuntime_jll.jl/tarball/45288942190db7c5f760f59c04495064eedf9340
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Ghostscript_jll.jl/tarball/38044a04637976140074d0b0621c1edf0eb531fd
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Glib_jll.jl/tarball/6b4d2dc81736fe3980ff0e8879a9fc7c33c44ddf
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Graphite2_jll.jl/tarball/8a6dbda1fd736d60cc477d99f2e7a042acfa46e8
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/HarfBuzz_jll.jl/tarball/f923f9a774fcf3f5cb761bfa43aeadd689714813
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Hwloc_jll.jl/tarball/3d468106a05408f9f7b6f161d9e7715159af247b
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/IntelOpenMP_jll.jl/tarball/ec1debd61c300961f98064cfb21287613ad7f303
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/JpegTurbo_jll.jl/tarball/b6893345fd6658c8e475d40155789f4860ac3b21
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/LAME_jll.jl/tarball/059aabebaa7c82ccb853dd4a0ee9d17796f7e1bc
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/LERC_jll.jl/tarball/aaafe88dccbd957a8d82f7d05be9b69172e0cee3
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/LLVMOpenMP_jll.jl/tarball/eb62a3deb62fc6d8822c0c4bef73e4412419c5d8
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/LZO_jll.jl/tarball/1c602b1127f4751facb671441ca72715cc95938a
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Libffi_jll.jl/tarball/c8da7e6a91781c41a863611c7e966098d783c57a
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Libglvnd_jll.jl/tarball/d36c21b9e7c172a44a10484125024495e2625ac0
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Libiconv_jll.jl/tarball/be484f5c92fad0bd8acfef35fe017900b0b73809
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Libmount_jll.jl/tarball/3acf07f130a76f87c041cfb2ff7d7284ca67b072
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Libtiff_jll.jl/tarball/f04133fe05eff1667d2054c53d59f9122383fe05
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Libuuid_jll.jl/tarball/2a7a12fc0a4e7fb773450d17975322aa77142106
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Libxc_GPU_jll.jl/tarball/25bde0bdc076ff720ce0b2383e044f0b62048a03
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Libxc_jll.jl/tarball/94f7feffa99688628909494a890581fe3b6148dd
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/MKL_jll.jl/tarball/282cadc186e7b2ae0eeadbd7a4dffed4196ae2aa
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/MPICH_jll.jl/tarball/9341048b9f723f2ae2a72a5269ac2f15f80534dc
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/MPItrampoline_jll.jl/tarball/e214f2a20bdd64c04cd3e4ff62d3c9be7e969a59
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/MbedTLS_jll.jl/tarball/ff69a2b1330bcb730b9ac1ab7dd680176f5896b8
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/MicrosoftMPI_jll.jl/tarball/bc95bf4149bf535c09602e3acdf950d9b4376227
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Ogg_jll.jl/tarball/b6aa4566bb7ae78498a5e68943863fa8b5231b59
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/OpenMPI_jll.jl/tarball/ab6596a9d8236041dcd59b5b69316f28a8753592
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/OpenSpecFun_jll.jl/tarball/1346c9208249809840c91b26703912dff463d335
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Opus_jll.jl/tarball/39a11854f0cba27aa41efaedf43c77c5daa6be51
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Pango_jll.jl/tarball/0662b083e11420952f2e62e17eddae7fc07d5997
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Pixman_jll.jl/tarball/db76b1ecd5e9715f3d043cec13b2ec93ce015d53
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Qhull_jll.jl/tarball/b6f3ac0623e1173c006cc7377798ec3fb33fa504
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Qt6Base_jll.jl/tarball/34f7e5d2861083ec7596af8b8c092531facf2192
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Qt6Declarative_jll.jl/tarball/da7adf145cce0d44e892626e647f9dcbe9cb3e10
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Qt6ShaderTools_jll.jl/tarball/9eca9fc3fe515d619ce004c83c31ffd3f85c7ccf
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Qt6Wayland_jll.jl/tarball/8f528b0851b5b7025032818eb5abbeb8a736f853
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Vulkan_Loader_jll.jl/tarball/2f0486047a07670caad3a81a075d2e518acc5c59
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Wayland_jll.jl/tarball/96478df35bbc2f3e1e791bc7a3d0eeee559e60e9
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/XML2_jll.jl/tarball/80d3930c6347cfce7ccf96bd3bafdf079d9c0390
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/XZ_jll.jl/tarball/9cce64c0fdd1960b597ba7ecda2950b5ed957438
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_libICE_jll.jl/tarball/a3ea76ee3f4facd7a64684f9af25310825ee3668
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_libSM_jll.jl/tarball/9c7ad99c629a44f81e7799eb05ec2746abb5d588
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_libX11_jll.jl/tarball/b5899b25d17bf1889d25906fb9deed5da0c15b3b
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_libXau_jll.jl/tarball/aa1261ebbac3ccc8d16558ae6799524c450ed16b
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_libXcursor_jll.jl/tarball/6c74ca84bbabc18c4547014765d194ff0b4dc9da
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_libXdmcp_jll.jl/tarball/52858d64353db33a56e13c341d7bf44cd0d7b309
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_libXext_jll.jl/tarball/a4c0ee07ad36bf8bbce1c3bb52d21fb1e0b987fb
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_libXfixes_jll.jl/tarball/75e00946e43621e09d431d9b95818ee751e6b2ef
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_libXi_jll.jl/tarball/a376af5c7ae60d29825164db40787f15c80c7c54
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_libXinerama_jll.jl/tarball/a5bc75478d323358a90dc36766f3c99ba7feb024
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_libXrandr_jll.jl/tarball/aff463c82a773cb86061bce8d53a0d976854923e
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_libXrender_jll.jl/tarball/7ed9347888fac59a618302ee38216dd0379c480d
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_libpciaccess_jll.jl/tarball/4909eb8f1cbf6bd4b1c30dd18b2ead9019ef2fad
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_libxcb_jll.jl/tarball/bfcaf7ec088eaba362093393fe11aa141fa15422
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_libxkbfile_jll.jl/tarball/e3150c7400c41e207012b41659591f083f3ef795
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_xcb_util_cursor_jll.jl/tarball/9750dc53819eba4e9a20be42349a6d3b86c7cdf8
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_xcb_util_image_jll.jl/tarball/f4fc02e384b74418679983a97385644b67e1263b
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_xcb_util_jll.jl/tarball/68da27247e7d8d8dafd1fcf0c3654ad6506f5f97
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_xcb_util_keysyms_jll.jl/tarball/44ec54b0e2acd408b0fb361e1e9244c60c9c3dd4
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_xcb_util_renderutil_jll.jl/tarball/5b0263b6d080716a02544c55fdff2c8d7f9a16a0
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_xcb_util_wm_jll.jl/tarball/f233c83cad1fa0e70b7771e0e21b061a116f2763
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_xkbcomp_jll.jl/tarball/801a858fc9fb90c11ffddee1801bb06a738bda9b
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_xkeyboard_config_jll.jl/tarball/00af7ebdc563c9217ecc67776d1bbf037dbcebf4
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Xorg_xtrans_jll.jl/tarball/a63799ff68005991f9d9491b6e95bd3478d783cb
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/Zstd_jll.jl/tarball/446b23e73536f84e8037f5dce465e92275f6a308
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/eudev_jll.jl/tarball/c3b0e6196d50eab0c5ed34021aaa0bb463489510
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/fzf_jll.jl/tarball/b6a34e0e0960190ac2a4363a1bd003504772d631
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/libaom_jll.jl/tarball/371cc681c00a3ccc3fbc5c0fb91f58ba9bec1ecf
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/libass_jll.jl/tarball/125eedcb0a4a0bba65b657251ce1d27c8714e9d6
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/libdecor_jll.jl/tarball/9bf7903af251d2050b467f76bdbe57ce541f7f4f
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/libevdev_jll.jl/tarball/56d643b57b188d30cccc25e331d416d3d358e557
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/libfdk_aac_jll.jl/tarball/646634dd19587a56ee2f1199563ec056c5f228df
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/libinput_jll.jl/tarball/91d05d7f4a9f67205bd6cf395e488009fe85b499
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/libpng_jll.jl/tarball/6ab498eaf50e0495f89e7a5b582816e2efb95f64
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/libvorbis_jll.jl/tarball/11e1772e7f3cc987e9d3de991dd4f6b2602663a5
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/mtdev_jll.jl/tarball/b4d631fd51f2e9cdd93724ae25b2efc198b059b1
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/oneTBB_jll.jl/tarball/1350188a69a6e46f799d3945beef36435ed7262f
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/spglib_jll.jl/tarball/2a960ec298d1932df7c9fe8fad2923d548e973d1
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/x264_jll.jl/tarball/14cc7083fc6dff3cc44f2bc435ee96d06ed79aa7
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/x265_jll.jl/tarball/e7b67590c14d487e734dcb925924c5dc43ec85f3
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaBinaryWrappers/xkbcommon_jll.jl/tarball/a1fc6507a40bf504527d0d4067d718f8e179b2b8
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaCollections/DataStructures.jl/tarball/e357641bb3e0638d353c4b29ea0e40ea644066a6
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaCollections/IterTools.jl/tarball/42d5f897009e7ff2cf88db414a389e5ed1bdd023
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaCollections/OrderedCollections.jl/tarball/05868e21324cede2207c6f0f466b4bfef6d5e7ee
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaCollections/SortingAlgorithms.jl/tarball/64d974c2e6fdf07f8155b5b2ca2ffa9069b608d9
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaData/DataAPI.jl/tarball/abe83f3a2f1b857aac70ef8b269080af17764bbe
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaData/DelimitedFiles.jl/tarball/9e2f36d3c96a820c678f2f1f1782582fcf685bae
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaData/Missings.jl/tarball/ec4f7fbeab05d7747bdf98eb74d130a2a2ed298d
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaData/Parsers.jl/tarball/7d2f8f21da5db6a806faf7b9b292296da42b2810
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaDiff/ChainRulesCore.jl/tarball/e4c6a16e77171a5f5e25e9646617ab1c276c5607
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaDiff/DiffResults.jl/tarball/782dd5f4561f5d267313f23853baaaa4c52ea621
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaDiff/DiffRules.jl/tarball/23163d55f885173722d1e4cf0f6110cdbaf7e272
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaDiff/DifferentiationInterface.jl/tarball/44d9321761ed99e1d444b5081b3166d3259adcf0
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaDiff/FiniteDiff.jl/tarball/9340ca07ca27093ff68418b7558ca37b05f8aeb1
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaDiff/ForwardDiff.jl/tarball/b2977f86ed76484de6f29d5b36f2fa686f085487
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaDocs/DocStringExtensions.jl/tarball/7442a5dfe1ebb773c29cc2962a8980f47221d76c
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaFunctional/CompositionsBase.jl/tarball/802bb88cd69dfd1509f6670416bd4434015693ad
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaGPU/Adapt.jl/tarball/7e35fca2bdfba44d797c53dfe63a51fabf39bfc0
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaGPU/GPUArrays.jl/tarball/83cf05ab16a73219e5f6bd1bdfa9848fa24ac627
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaGeometry/Contour.jl/tarball/439e35b0b36e2e5881738abc8857bd92ad6ff9a8
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaGraphics/ColorSchemes.jl/tarball/b0fd3f56fa442f81e0a47815c92245acfaaa4e34
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaGraphics/ColorTypes.jl/tarball/67e11ee83a43eb71ddc950302c53bf33f0690dfe
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaGraphics/ColorVectorSpace.jl/tarball/8b3b6f87ce8f65a2b4f857528fd8d70086cd72b1
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaGraphics/Colors.jl/tarball/37ea44092930b1811e666c3bc38065d7d87fcc74
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaGraphics/Measures.jl/tarball/b513cedd20d9c914783d8ad83d08120702bf2c77
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaGraphics/Showoff.jl/tarball/91eddf657aca81df9ae6ceb20b959ae5653ad1de
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaIO/CodecZlib.jl/tarball/962834c22b66e32aa10f7611c08c8ca4e20749a9
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaIO/EzXML.jl/tarball/7ea1aa5869e2626ccae84480e4f37185bc6f41d3
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaIO/FFMPEG.jl/tarball/95ecf07c2eea562b5adbd0696af6db62c0f52560
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaIO/JSON.jl/tarball/b3ad4a0255688dcb895a52fafbaae3023b588a90
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaIO/TranscodingStreams.jl/tarball/0c45878dcfdcfa8480052b6ab162cdd138781742
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaLang/Compat.jl/tarball/9d8a54ce4b17aa5bdce0ea5c34bc5e7c340d16ad
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaLang/MbedTLS.jl/tarball/c067a280ddc25f196b5e7df3877c6b226d390aaf
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaLang/PrecompileTools.jl/tarball/07a921781cab75691315adc645096ed5e370cb77
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaLinearAlgebra/LinearMaps.jl/tarball/7f6be2e4cdaaf558623d93113d6ddade7b916209
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaLinearAlgebra/WoodburyMatrices.jl/tarball/248a7031b3da79a127f14e5dc5f417e26f9f6db7
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaLogging/LoggingExtras.jl/tarball/f00544d95982ea270145636c181ceda21c4e2575
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMath/AbstractFFTs.jl/tarball/d92ad398961a3ed262d8bf04a1a2b8340f915fef
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMath/FFTW.jl/tarball/97f08406df914023af55ade2f843c39e99c5d969
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMath/FixedPointNumbers.jl/tarball/05882d6995ae5c12bb5f36dd2ed3f61c98cbb172
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMath/Interpolations.jl/tarball/65d505fa4c0d7072990d659ef3fc086eb6da8208
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMath/InverseFunctions.jl/tarball/a779299d77cd080bf77b97535acecd73e1c5e5cb
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMath/IrrationalConstants.jl/tarball/b2d91fe939cae05960e760110b328288867b5758
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMath/NaNMath.jl/tarball/9b8215b1ee9e78a293f99797cd31375471b2bcae
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMath/Polynomials.jl/tarball/972089912ba299fba87671b025cd0da74f5f54f7
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMath/Roots.jl/tarball/8a433b1ede5e9be9a7ba5b1cc6698daa8d718f1d
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMath/SpecialFunctions.jl/tarball/f2685b435df2613e25fc10ad8c26dddb8640f547
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMath/TensorCore.jl/tarball/1feb45f88d133a655e001435632f019a9a1bcdb6
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMolSim/AtomsBase.jl/tarball/922c2469c526996566dbabd273d15701ed2aacfe
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMolSim/AtomsCalculators.jl/tarball/99c477979252acdb189f3e4161970e42634e426a
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMolSim/DftFunctionals.jl/tarball/b904a2c78f0e768187a13f425719557b2d1db47e
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMolSim/Libxc.jl/tarball/31acc2c3c93b8d3c4bb43c816e082fcf971c43d3
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaMolSim/PseudoPotentialData.jl/tarball/754ae22669bfcb466fd4b0b3cacc1060fc0a7c57
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaNLSolvers/LineSearches.jl/tarball/9ea3422d03222c6de679934d1c08f0a99405aa03
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaNLSolvers/NLSolversBase.jl/tarball/25a6638571a902ecfb1ae2a18fc1575f86b1d4df
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaNLSolvers/Optim.jl/tarball/48968edaf014f67e58fe4c8a4ce72d392aed3294
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaObjects/Accessors.jl/tarball/856ecd7cebb68e5fc87abecd2326ad59f0f911f3
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaObjects/ConstructionBase.jl/tarball/b4b092499347b18a015186eae3042f72267106cb
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaPackaging/JLLWrappers.jl/tarball/0533e564aae234aff59ab625543145446d8b6ec2
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaPackaging/Preferences.jl/tarball/522f093a29b31a93e34eaea17ba055d850edea28
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaPackaging/RelocatableFolders.jl/tarball/ffdaf70d81cf6ff22c2b6e733c900c3321cab864
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaPackaging/Requires.jl/tarball/62389eeff14780bfe55195b7204c0d8738436d64
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaPackaging/Scratch.jl/tarball/9b81b8393e50b7d4e6d0a9f14e192294d3b7c109
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaPackaging/SimpleBufferStream.jl/tarball/f305871d2f381d21527c770d4788c06c097c9bc1
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaParallel/MPI.jl/tarball/a61ecf714d71064b766d481ef43c094d4c6e3c52
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaParallel/MPI.jl/tarball/c105fe467859e7f6e9a852cb15cb4301126fac07
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaPhysics/PeriodicTable.jl/tarball/238aa6298007565529f911b734e18addd56985e1
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaPhysics/Unitful.jl/tarball/c25751629f5baaa27fef307f96536db62e1d754e
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaPlots/PlotThemes.jl/tarball/41031ef3a1be6f5bbbf3e8073f210556daeae5ca
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaPlots/PlotUtils.jl/tarball/26ca162858917496748aad52bb5d3be4d26a228a
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaPlots/Plots.jl/tarball/063ef757a1e0e15af77bbe92be92da672793fd4e
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaPlots/Plots.jl/tarball/45cf9fd0ca5839d06ef333c8201714e888486342
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaPlots/Plots.jl/tarball/5c3d09cc4f31f5fc6af001c250bf1278733100ff
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaRandom/StableRNGs.jl/tarball/4f96c596b8c8258cc7d3b19797854d368f243ddc
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaServices/ConcurrentUtilities.jl/tarball/d9d26935a0bcffc87d2613ce14c527c99fc543fd
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaServices/ExceptionUnwrapping.jl/tarball/d36f682e590a83d63d1c7dbd287573764682d12a
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaServices/StructUtils.jl/tarball/9297459be9e338e546f5c4bedb59b3b5674da7f1
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaStats/LogExpFunctions.jl/tarball/13ca9e2586b89836fd20cccf56e57e2b9ae7f38f
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaStats/Statistics.jl/tarball/ae3bb1eb3bba077cd276bc5cfc337cc65c3075c0
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaStats/StatsAPI.jl/tarball/178ed29fd5b2a2cfc3bd31c13375ae925623ff36
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaStats/StatsBase.jl/tarball/aceda6f4e598d331548e04cc6b2124a6148138e3
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaString/Format.jl/tarball/9c68794ef81b08086aeb32eeaf33531668d5f5fc
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaStrings/LaTeXStrings.jl/tarball/dda21b8cbd6a6c40d9d02a73230f9d70fed6918c
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaTesting/ExprTools.jl/tarball/27415f162e6028e81c72b82ef756bf321213b6ec
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaWeb/HTTP.jl/tarball/5e6fe50ae7f23d171f44e311c2960294aaa0beb5
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaWeb/OpenSSL.jl/tarball/1d1aaa7d449b58415f97d2839c318b70ffb525a0
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/JuliaWeb/URIs.jl/tarball/bef26fb046d031353ef97a82e3fdb6afe7f21b1a
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/Jutho/KrylovKit.jl/tarball/6dcba71deb016d646f1c1bcfcaacc764a198b8e6
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/Jutho/VectorInterface.jl/tarball/9166406dedd38c111a6574e9814be83d267f8aec
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/KlausC/PkgVersion.jl/tarball/f9501cc0430a26bc3d156ae1b5b0c1b47af4d6da
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/KristofferC/TimerOutputs.jl/tarball/3748bd928e68c7c346b52125cf41fff0de6937d0
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/LilithHafner/AliasTables.jl/tarball/9876e1e164b144ca45e9e3198d0b689cadfed9ff
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/LilithHafner/PtrArrays.jl/tarball/1d36ef11a9aaf1e8b74dacc6a731dd1de8fd493d
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/MineralsCloud/CrystallographyCore.jl/tarball/521a8ed44455592672d887632eef056c1ba4678c
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/Moelf/JLFzf.jl/tarball/82f7acdc599b65e0f8ccd270ffa1467c21cb647b
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/SciML/ADTypes.jl/tarball/f7304359109c768cf32dc5fa2d371565bb63b68a
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/SciML/CommonSolve.jl/tarball/78ea4ddbcf9c241827e7035c3a03e2e456711470
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/SciML/CommonWorldInvalidations.jl/tarball/ae52d1c52048455e85a387fbee9be553ec2b68d0
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/SciML/ComponentArrays.jl/tarball/4b5762f1e3102ea84a3fd05440acc83ec7fbf201
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/SciML/IfElse.jl/tarball/debdd00ffef04665ccbb3e150747a77560e8fad1
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/SciML/SciMLPublic.jl/tarball/0ba076dbdce87ba230fff48ca9bca62e1f345c9b
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/SciML/Static.jl/tarball/49440414711eddc7227724ae6e570c7d5559a086
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/SimonDanisch/UnicodeFun.jl/tarball/53915e50200959667e78a92a418594b428dffddf
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/azadoks/PseudoPotentialIO.jl/tarball/88cf9598d70015889c99920ff3dacca0eb26ae90
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/bramtayl/Unzip.jl/tarball/ca0969166a028236229f63514992fc073799bb78
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/cjdoris/PackageExtensionCompat.jl/tarball/fb28e33b8a95c4cee25ce296c817d89cc2e53518
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/fredrikekre/EnumX.jl/tarball/bddad79635af6aec424f53ed8aad5d7555dc6f00
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/jheinen/GR.jl/tarball/f305bdb91e1f3fcc687944c97f2ede40585b1bd5
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/jmert/BitFlags.jl/tarball/0691e34b3bb8be9307330f88d1a3c3f25466c24d
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/jolin-io/StructEquality.jl/tarball/192a9f1de3cfef80ab1a4ba7b150bb0e11ceedcf
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/jw3126/Setfield.jl/tarball/c5391c6ace3bc430ca630251d02ea9687169ca68
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/korsbo/Latexify.jl/tarball/44f93c47f9cd6c7e431f2f2091fcba8f01cd7e8f
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/rdeits/CommonSubexpressions.jl/tarball/cda2cfaebb4be89c9084adaca7dd7333369715c5
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/simonster/Reexport.jl/tarball/45e428421666073eab6f2da5c9d310d99bb12f9b
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/singularitti/Spglib.jl/tarball/1ab72302ec18724f57858a45c51c6a0acdeb43f7
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/sostock/UnitfulAtomic.jl/tarball/903be579194534af1c4b4778d1ace676ca042238
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/thchr/Brillouin.jl/tarball/c1cb59741b310573c43406c652031e3228d2f187
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/thchr/Crystalline.jl/tarball/a39abce7826834ba1a517e44e9ed673e6621192a
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/timholy/AxisAlgorithms.jl/tarball/01b8ccb13d68535d73d2b0c23e39bd23155fb712
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/timholy/PositiveFactorizations.jl/tarball/17275485f373e6673f7e7f97051f703ed5b15b20
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • https://api.github.com/repos/timholy/Ratios.jl/tarball/1342a47bf3260ee108163042310d26f2be5ec90b
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (http block)
  • pkg.julialang.org
    • Triggering command: /usr/bin/julia julia --project=. run_divAgrad_with_plots.jl (dns block)
    • Triggering command: /usr/local/julia1.12.3/bin/julia /usr/local/julia1.12.3/bin/julia -C native -J/usr/local/julia1.12.3/lib/julia/sys.so -g1 --output-o /home/REDACTED/.julia/compiled/v1.12/MKL_jll/jl_fOiJ88 --output-ji /home/REDACTED/.julia/compiled/v1.12/MKL_jll/jl_1tMwt2 --output-incremental=yes --startup-file=no --history-file=no --warn-overwrite=yes --color=yes - (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

@antoine-levitt
Copy link
Copy Markdown
Member

@copilot hm this is annoying. Any idea why this happens? Any way to use a pre-installed environment with all dependencies installed so you don't have to re-install everything each time?

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jan 14, 2026

@copilot hm this is annoying. Any idea why this happens? Any way to use a pre-installed environment with all dependencies installed so you don't have to re-install everything each time?

The timeout happens because each execution starts in a fresh sandboxed environment without any pre-installed packages. When Julia's Pkg.add("Plots") runs, it needs to:

  1. Clone/download Plots and its 200+ dependencies from scratch
  2. Precompile all packages (which took ~100+ seconds in my attempt)

Unfortunately, I don't have access to a persistent Julia environment or the ability to configure pre-installed package depots. Each run starts fresh.

For verification, I'd suggest:

  • Running the example locally where Plots is already installed
  • Or modifying the example to output numerical results to a text file instead of generating plots, which I can then analyze
  • Or using a simpler plotting backend like UnicodePlots that has fewer dependencies

The core solver implementation is working correctly - the issue is purely with visualization/validation.

Copy link
Copy Markdown
Member

@antoine-levitt antoine-levitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, just a couple of minor points

Comment thread examples/divAgrad_solver.jl Outdated
in the div-grad problem. The inclusion has a constant value inside a ball of given radius.
"""
struct ElementSphericalInclusion <: DFTK.Element
a_value::Float64 # Value of the coefficient modification in the inclusion
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In julia we typically don't specialize to Float64, take the floating point type as a type parameter and type a_value and radius as ::T

Comment thread examples/divAgrad_solver.jl Outdated
end

# Default constructor
ElementSphericalInclusion(; a_value=1.0, radius=0.5) = ElementSphericalInclusion(a_value, radius)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't have a default constructor

Comment thread examples/divAgrad_solver.jl Outdated
# FT[χ_R](p) = 4π R³/3 * 3(sin(p*R) - p*R*cos(p*R))/(p*R)³
# However, this is for the characteristic function. For our coefficient a(x),
# we want the value a_value in the ball.
function DFTK.local_potential_fourier(el::ElementSphericalInclusion, p::Real)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, don't type p, take it arbitrary. And when using pi, use T(pi) to avoid accidentally converting to float64

Comment thread examples/divAgrad_solver.jl Outdated
AtomicDivAGrad: Construct the coefficient field a(x) from atomic positions.
"""
struct AtomicDivAGrad
background_value::Float64 # Background uniform value of a(x)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, use a parametric type

Comment thread examples/divAgrad_solver.jl Outdated
background_value::Float64 # Background uniform value of a(x)
end

AtomicDivAGrad(; background_value=1.0) = AtomicDivAGrad(background_value)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't give a default value

Comment thread examples/divAgrad_solver.jl Outdated
function proj(x)
# Remove the zero Fourier mode (constant component)
x_copy = copy(x)
if !isnothing(G_zero_idx)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just @assert previously it's not nothing (otherwise we've got a bug and should error as soon as possible)

Comment thread examples/divAgrad_solver.jl Outdated
# Define spherical inclusions at specific positions
# These act as "atoms" that modify the coefficient a(x)
inclusion = ElementSphericalInclusion(a_value=2.0, radius=1.0)
positions = [[0.25, 0.25, 0.0], [0.75, 0.75, 0.0]]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is too tame and too symmetric. Use radius=2, a_value=4, and more random-looking positions

Comment thread examples/divAgrad_solver.jl Outdated
f_values = zeros(Float64, basis.fft_size...)
for (i, r) in enumerate(r_vectors)
x, y = r[1], r[2]
f_values[i] = sin(2π * x / a) * sin(2π * y / a)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is too symmetric, use something a bit more interesting (but still simple)

Comment thread examples/divAgrad_solver.jl Outdated

p = plot(p1, p2, p3, layout=(1, 3), size=(1200, 400))

# Save to PDF if requested
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No don't do the export

Comment thread run_divAgrad_with_plots.jl Outdated
@@ -0,0 +1,17 @@
# Script to run divAgrad_solver example and export plot to PDF
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this test script

@antoine-levitt
Copy link
Copy Markdown
Member

@copilot adress the code review

… better test case

Co-authored-by: antoine-levitt <88065+antoine-levitt@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jan 14, 2026

@copilot adress the code review

Addressed all code review comments in commit 79f3dd2:

  • Made ElementSphericalInclusion and AtomicDivAGrad parametric types
  • Removed default constructors
  • Use T(π) instead of π to avoid type conversions
  • Implemented custom PseudoInversePreconditioner with ldiv!() that zeros DC component
  • Use DFTK.fft/ifft helper functions instead of manual conversion
  • Use only() to ensure single kpoint
  • Set isposdef=true for the Hamiltonian
  • Removed test script and PDF export code
  • Updated test case: radius=2, a_value=4, 3 inclusions at asymmetric positions
  • More interesting RHS: sin(2πx/a)cos(2πy/a) + 0.5sin(4πx/a)*sin(4πy/a)

@antoine-levitt
Copy link
Copy Markdown
Member

antoine-levitt commented Jan 14, 2026

@copilot Also can you add an option to use as preconditioner 1/sqrt(a) (-Delta)^-1 1/sqrt(a)? (as a custom type that implements ldiv!, you'll need to use ffts and iffts, don't bother too much about reusing computations, this is only for playing with it). Also you're good at math, no? Add in the comments in the file the detailed proof that the preconditioned operator is of the form 1 + compact.

Copilot AI and others added 2 commits January 14, 2026 14:20
…vel, correct isposdef flag

Co-authored-by: antoine-levitt <88065+antoine-levitt@users.noreply.github.com>
Co-authored-by: antoine-levitt <88065+antoine-levitt@users.noreply.github.com>
@antoine-levitt
Copy link
Copy Markdown
Member

@copilot the previous comment is adressed to you, I forgot to tag you and then edited the message but it didn't work

…ompact form

Co-authored-by: antoine-levitt <88065+antoine-levitt@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jan 14, 2026

@copilot Also can you add an option to use as preconditioner 1/sqrt(a) (-Delta)^-1 1/sqrt(a)? (as a custom type that implements ldiv!, you'll need to use ffts and iffts, don't bother too much about re...

Added in commit 5e528a8:

New DivAGradPreconditioner: Implements M = 1/√a (-Δ)^(-1) 1/√a using FFTs for the multiplication steps and division by |G|² for the Laplacian inverse.

Mathematical proof (in comments): Detailed derivation showing that M⁻¹H = a₀I + K where K is compact:

  • Decomposes a(x) = a₀ + δa(x)
  • Shows the preconditioned operator equals a₀I plus a compact perturbation
  • Explains compactness via smoothing properties of (-Δ)^(-1) and decay of Fourier coefficients
  • Concludes (1/a₀)M⁻¹H = I + (1/a₀)K has the form I + compact

Usage: solve_linear_problem(basis, f; preconditioner=:divAgrad) for the new preconditioner, or :kinetic (default) for the simple diagonal one.

Example now compares both preconditioners and reports iteration counts.

@copilot the previous comment is adressed to you, I forgot to tag you and then edited the message but it didn't work

Addressed - see response to previous comment. Added the 1/√a (-Δ)^(-1) 1/√a preconditioner with full mathematical proof in commit 5e528a8.

Copilot AI changed the title Add example solving -div(a∇u)=f using DivAgradOperator Add example solving -div(a∇u)=f using DivAgradOperator with multiple preconditioners Jan 14, 2026
@antoine-levitt
Copy link
Copy Markdown
Member

The combined preconditioner doesn't appear better, it's a bit weird, reverting for now. Good to go on my end. Ping @mfherbst
FWIW: the only thing I did myself is 202a292. There is one genuine error here (which has tripped me up before and is probably bad design...). @mfherbst Do you have any idea how to set copilot up with a prebuilt environment so it doesn't redownload the whole internet each time (and so is able to test its own code)?

@antoine-levitt
Copy link
Copy Markdown
Member

@copilot
I changed my mind, I don't want to limit to spherical symmetry. You need to change the logic to mimic that of compute_local_potential, but to not assume spherical symmetry, i.e. the functions replacing local_potential_fourier and local_potential_real should accept vectors and not just scalars. Keep TermAtomicDivAGrad, rename it to TermDivAGrad (since we're not using the atom metaphor anymore, which is not really adapted here anyway). Add a DivAGradFromReal and DivAGradFromFourier, mimicking the corresponding code for local potentials. These just accept the function a itself. Then use a helper function that takes an elementary inclusion (either in fourier or real domain), a background value and a list of positions and build the full a. In the real case, don't forget to sum over the periodic images (just one cell away should be sufficient, since we are dealing with inclusions that are smaller than the unit cell).

Test it using rectangular inclusions, and compare the results using DivAGradFromFourier and DivAGradFromReal.

Also take f = da/dx (derivative wrt to the first direction), calculated exactly in the Fourier domain. To visualize the result, add two additional plots of du/dx and du/dy.

…urier

Co-authored-by: antoine-levitt <88065+antoine-levitt@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jan 14, 2026

@copilot
I changed my mind, I don't want to limit to spherical symmetry. You need to change the logic to mimic that of compute_local_potential, but to not assume spherical symmetry, i.e. the function...

Implemented all requested changes in commit 5da7bde:

Major refactoring:

  • Removed spherical symmetry - functions now accept Vec3 instead of scalars
  • Renamed TermAtomicDivAGradTermDivAGrad
  • Added DivAGradFromReal and DivAGradFromFourier mimicking local potential pattern
  • Helper functions build_coefficient_field_real and build_coefficient_field_fourier build full a(x) from elementary inclusions

Real-space construction:

  • Sums over periodic images (one cell away in each direction)
  • Loops over -1:1 offsets in each lattice direction

Testing:

  • Uses rectangular inclusions (half-widths wx=1.0, wy=0.8, wz=0.5)
  • Compares DivAGradFromReal vs DivAGradFromFourier - reports max and RMS differences
  • Uses f = da/dx calculated exactly in Fourier domain (multiply by 2πi*G_x)

Visualization:

  • Five plots: a(x), f(x)=da/dx, u(x), du/dx, du/dy
  • Layout (2,3) with size (1800, 1200)

Copilot AI changed the title Add example solving -div(a∇u)=f using DivAgradOperator with multiple preconditioners Add example solving -div(a∇u)=f using DivAgradOperator with general inclusions Jan 14, 2026
@antoine-levitt
Copy link
Copy Markdown
Member

That one was not as good, claude produced relatively verbose (copy-paste) code, messed up on cartesian vs relative coordinates, and on kpoint basis vs basis (to be fair, humans often do also...) However telling it to clean up a piece of code (in particular I told it to be more concise) is absolutely amazing.

@mfherbst
Copy link
Copy Markdown
Member

A bit verbose, but not all that bad. @antoine-levitt What's your plan with this ? Just curiosity and playing around, convert it into something that finally makes it into DFTK, something else ?

@antoine-levitt
Copy link
Copy Markdown
Member

This was mostly to play around with AI and to test something for some friends but I think it's a generally usefulthing to have in DFTK, eg to plot photonic band structure (although we probably need to merge in multicomponents to do actual photonics). I think we can just add a divagradfromreal and divagradfromfourier terms, following the local potential stuff, no?

@antoine-levitt
Copy link
Copy Markdown
Member

Also the Ax=b example I think is generically useful, we could have a "DFTK as a generic PDE solver" example. I thought of having an option to turn off the manifold stuff and turning it into a generic "optimize a functional defined on several periodic functions" machine but that breaks some of the core assumptions (in particular that the gradient of the energy is of the form H psi) so it's probably better not to do that. I say we (and when I say we I mean Claude) split the file into a part that goes into a divagrad.jl term, and an example that has the Ax=b solver, OK?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement a simple div(a grad u)=f solve

3 participants