Skip to content

Update primary field argument passed to ElectrostaticSphere#578

Open
santisoler wants to merge 2 commits intomainfrom
update-electrostatic-sphere
Open

Update primary field argument passed to ElectrostaticSphere#578
santisoler wants to merge 2 commits intomainfrom
update-electrostatic-sphere

Conversation

@santisoler
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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