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

Change Maxwell class to take 4-current #290

Merged
merged 2 commits into from
May 6, 2024

Conversation

s-mayani
Copy link
Collaborator

@s-mayani s-mayani commented May 6, 2024

Changed the Maxwell base class to take four current (charge density and current density in same vector) instead of two separate charge and current density fields.

@s-mayani s-mayani self-assigned this May 6, 2024
@@ -18,46 +18,35 @@ namespace ippl {
template <typename EMField, typename SourceField>
class Maxwell {
Copy link
Contributor

@manuel5975p manuel5975p May 6, 2024

Choose a reason for hiding this comment

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

No inheritance from SolverBase?

graph TB

X[SolverBase] --> B(Electrostatics)
X[SolverBase] --> A(Maxwell)
B[Electrostatics] --> C[CG]
B[Electrostatics] --> FFT
B[Electrostatics] --> FEM
A(Maxwell) --> D(FDTD)
A(Maxwell) --> E(FEM)
Loading

Copy link
Member

Choose a reason for hiding this comment

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

I feel SolverBase would be over design. However, we can discuss this later.

@aaadelmann aaadelmann merged commit 3ae1a2f into IPPL-framework:master May 6, 2024
@s-mayani s-mayani deleted the change_maxwell_class branch May 6, 2024 12:58
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.

3 participants