abaillod
abaillod
Hi! I realized that getting twice the same derivatives is not guaranteed in some cases. For example, running ``` surf.dgamma_by_dcoeff_vjp(np.ones((1,))) - surf.dgamma_by_dcoeff_vjp(np.ones((1,))) ``` for some `surf` that is a `SurfaceRZFourier`...
Hi! I recently started working on coupling DESC with simsopt. The goal is to be able to use DESC solver and derivatives in single-stage optimization. My understanding was that DESC...
Hi! Has anyone successfully installed SPEC python wrappers on a mac M1 using anaconda? I get the following error message when running `python setup.py bdist_wheel`... ``` /opt/homebrew/Caskroom/miniconda/base/envs/simsopt/lib/python3.8/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install...
Hi, I am trying to understand what is going on in `mtrxhs.f90`, and how it is used to evaluate the derivatives of the field w.r.t the geometry degrees of freedom....
Hello, I have a problem running the master branch. When running the latest version of the master branch on this simple, circular tokamak input file: [Input_0.txt](https://github.com/PrincetonUniversity/SPEC/files/6552394/Input_0.txt), I get the following...
Hi! When writing an objective that depends on an `Optimizable` that has no local dofs, I run into some error (see below) which is quite obscure to me. I would...
Hi, I tried implementing a constraint on the max current in a coil. The objective looks like this: ``` def current_penalty_pure(I, threshold): return jnp.maximum(abs(I) - threshold, 0)**2 class CurrentPenalty(Optimizable): """...
One more pull request! In this one, the BoozerSurface class is made slightly more user-friendly. The main changes are the implementation of `BoozerSurface.as_dict` and `BoozerSurface.from_dict` to allow for saving the...