Skip to content

Commit

Permalink
renaming BoundaryHandler to PoissonBoundaryHandler, defining new base…
Browse files Browse the repository at this point in the history
… class ES and derived ExplicitES
  • Loading branch information
RevathiJambunathan committed Sep 9, 2024
1 parent 2bcba78 commit 6c4fffc
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Source/FieldSolver/ElectrostaticSolvers/ElectrostaticSolver.H
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

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>();
}
6 changes: 6 additions & 0 deletions Source/FieldSolver/ElectrostaticSolvers/ExplicitES.H
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include "ElectrostaticSolver.H"

class ExplicitES () : public ElectrostaticSolver
{

}

0 comments on commit 6c4fffc

Please sign in to comment.