forked from ECP-WarpX/WarpX
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renaming BoundaryHandler to PoissonBoundaryHandler, defining new base…
… class ES and derived ExplicitES
- Loading branch information
1 parent
2bcba78
commit 6c4fffc
Showing
5 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
Source/FieldSolver/ElectrostaticSolvers/ElectrostaticSolver.H
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* Copyright 2024 Roelof Groenwald, Arriana Formenti, Revathi Jambunathan | ||
* | ||
* This file is part of WarpX. | ||
* | ||
* License: BSD-3-Clause-LBNL | ||
*/ | ||
#ifndef Electrostatic_Solver_H_ | ||
#define Electrostatic_Solver_H_ | ||
|
||
class ElectrostaticSolver | ||
{ | ||
public: | ||
|
||
ElectrostaticSolver() = default; | ||
|
||
ComputeRHS() = default; | ||
|
||
PoissonBoundaryHandler m_poissonboundaryhandler; | ||
|
||
} | ||
|
||
#endif | ||
|
7 changes: 7 additions & 0 deletions
7
Source/FieldSolver/ElectrostaticSolvers/ElectrostaticSolver.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include "ElectrostaticSolver.H" | ||
#include "PoissonBoundaryHandler.H" | ||
|
||
ElectrostaticSolver::ElectrostaticSolver () | ||
{ | ||
m_boundaryhandler = std::make_unique<PoissonBoundaryHandler>(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#include "ElectrostaticSolver.H" | ||
|
||
class ExplicitES () : public ElectrostaticSolver | ||
{ | ||
|
||
} |
File renamed without changes.
File renamed without changes.