-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Edward Palmer
committed
Jun 28, 2024
1 parent
4cd2f92
commit 684954d
Showing
37 changed files
with
9 additions
and
2,793 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,22 +1,23 @@ | ||
#pragma once | ||
|
||
#include "MFEMFormulation.h" | ||
#include "time_domain_em_formulation.h" | ||
#include "time_domain_equation_system_problem_builder.h" | ||
|
||
class CustomFormulation : public MFEMFormulation | ||
{ | ||
public: | ||
static InputParameters validParams(); | ||
|
||
CustomFormulation(const InputParameters & parameters); | ||
virtual ~CustomFormulation(); | ||
~CustomFormulation() override = default; | ||
|
||
virtual void execute() override {} | ||
virtual void initialize() override {} | ||
virtual void finalize() override {} | ||
|
||
std::shared_ptr<platypus::ProblemBuilder> getProblemBuilder() override { return formulation; } | ||
/// Returns a shared pointer to the time-domain equation system problem builder. | ||
std::shared_ptr<platypus::ProblemBuilder> getProblemBuilder() const override { return _formulation; } | ||
|
||
private: | ||
std::shared_ptr<platypus::TimeDomainEMFormulation> formulation{nullptr}; | ||
const std::shared_ptr<platypus::TimeDomainEquationSystemProblemBuilder> _formulation{nullptr}; | ||
}; |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.