Skip to content

Commit

Permalink
Removes EM formulations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Palmer committed Jun 28, 2024
1 parent 4cd2f92 commit 684954d
Show file tree
Hide file tree
Showing 37 changed files with 9 additions and 2,793 deletions.
9 changes: 5 additions & 4 deletions include/formulations/CustomFormulation.h
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};
};
4 changes: 2 additions & 2 deletions include/formulations/MFEMFormulation.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ class MFEMFormulation : public GeneralUserObject
static InputParameters validParams();

MFEMFormulation(const InputParameters & parameters);
virtual ~MFEMFormulation();
virtual ~MFEMFormulation() override = default;

virtual void execute() override {}
virtual void initialize() override {}
virtual void finalize() override {}

virtual std::shared_ptr<platypus::ProblemBuilder> getProblemBuilder()
virtual std::shared_ptr<platypus::ProblemBuilder> getProblemBuilder() const
{
mooseError(
"Base class MFEMFormulation cannot return a valid ProblemBuilder. Use a child class.");
Expand Down
55 changes: 0 additions & 55 deletions include/formulations/a_formulation.h

This file was deleted.

53 changes: 0 additions & 53 deletions include/formulations/av_formulation.h

This file was deleted.

88 changes: 0 additions & 88 deletions include/formulations/complex_a_formulation.h

This file was deleted.

90 changes: 0 additions & 90 deletions include/formulations/complex_e_formulation.h

This file was deleted.

Loading

0 comments on commit 684954d

Please sign in to comment.