Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update primary field argument passed to ElectrostaticSphere #578

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

santisoler
Copy link
Member

Use an array with 3 elements instead of a float as the primary_field argument for the ElectrostaticSphere. Geoana errors out if a float is passed instead.

Use an array with 3 elements instead of a float as the `primary_field`
argument for the `ElectrostaticSphere`. Geoana errors out if a float is
passed instead.
@santisoler
Copy link
Member Author

@lheagy I think this solves the error that Geoana raises. Please, check that the values for the primary field are correct.

@lheagy
Copy link
Member

lheagy commented Dec 2, 2024

Thanks Santi! It looks like this now runs, but the results for the electric field and the current density look off

e.g. currently on the site
https://em.geosci.xyz/content/maxwell2_static/fields_from_grounded_sources_dcr/electrostatic_sphere.html#electric-field
image

and now
image

This might be a bug down in geoana. The potentials look correct though

@lheagy
Copy link
Member

lheagy commented Dec 4, 2024

I was hoping this would be obvious, but it will take some more time to figure out where things went sideways here. What do you think of pinning to an older version of geoana for now so that we can get #577 in, @santisoler?

@santisoler
Copy link
Member Author

Sure! Let's pin it. We can solve this later on.

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.

2 participants