Skip to content

Commit

Permalink
Puts Subdomain and Coefficients back into namespaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Palmer committed Jun 27, 2024
1 parent c7417e8 commit 986c92c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion framework/include/mfem/equation_systems/equation_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class EquationSystem : public mfem::Operator
virtual void Init(platypus::GridFunctions & gridfunctions,
const platypus::FESpaces & fespaces,
platypus::BCMap & bc_map,
Coefficients & coefficients);
platypus::Coefficients & coefficients);
virtual void BuildLinearForms(platypus::BCMap & bc_map, platypus::Sources & sources);
virtual void BuildBilinearForms();
virtual void BuildMixedBilinearForms();
Expand Down
2 changes: 1 addition & 1 deletion framework/include/mfem/materials/MFEMMaterial.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MFEMMaterial : public GeneralUserObject
virtual void initialize() override {}
virtual void finalize() override {}

virtual void storeCoefficients(Subdomain & subdomain) {}
virtual void storeCoefficients(platypus::Subdomain & subdomain) {}

std::vector<SubdomainName> blocks;
};
2 changes: 1 addition & 1 deletion framework/include/mfem/problem/MFEMProblem.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class MFEMProblem : public ExternalProblem
std::string _formulation_name;
int _order;

Coefficients _coefficients;
platypus::Coefficients _coefficients;
platypus::InputParameters _solver_options;
platypus::Outputs _outputs;
platypus::InputParameters _exec_params;
Expand Down
2 changes: 1 addition & 1 deletion framework/src/mfem/equation_systems/equation_system.C
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ void
EquationSystem::Init(platypus::GridFunctions & gridfunctions,
const platypus::FESpaces & fespaces,
platypus::BCMap & bc_map,
Coefficients & coefficients)
platypus::Coefficients & coefficients)
{

// Add optional kernels to the EquationSystem
Expand Down
2 changes: 1 addition & 1 deletion framework/src/mfem/problem/MFEMProblem.C
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ MFEMProblem::addMaterial(const std::string & kernel_name,
for (unsigned int bid = 0; bid < mfem_material.blocks.size(); ++bid)
{
int block = std::stoi(mfem_material.blocks[bid]);
Subdomain mfem_subdomain(name, block);
platypus::Subdomain mfem_subdomain(name, block);
mfem_material.storeCoefficients(mfem_subdomain);
_coefficients._subdomains.push_back(mfem_subdomain);
}
Expand Down

0 comments on commit 986c92c

Please sign in to comment.