https://mooseframework.inl.gov
TimeDomainProblemOperator.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #ifdef MFEM_ENABLED
11 
13 
14 namespace Moose::MFEM
15 {
16 std::vector<std::string>
17 GetTimeDerivativeNames(std::vector<std::string> gridfunction_names)
18 {
19  std::vector<std::string> time_derivative_names;
20  for (auto & gridfunction_name : gridfunction_names)
21  {
22  time_derivative_names.push_back(GetTimeDerivativeName(gridfunction_name));
23  }
24  return time_derivative_names;
25 }
26 
27 void
29 {
31  width = height = _block_true_offsets[_trial_variables.size()];
32 }
33 
34 } // namespace Moose::MFEM
35 
36 #endif
std::vector< std::string > GetTimeDerivativeNames(std::vector< std::string > gridfunction_names)
std::vector< mfem::ParGridFunction * > _trial_variables
std::string GetTimeDerivativeName(std::string name)