Line data Source code
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 : 12 : #include "TimeDomainProblemOperator.h" 13 : 14 : namespace Moose::MFEM 15 : { 16 : std::vector<std::string> 17 0 : GetTimeDerivativeNames(std::vector<std::string> gridfunction_names) 18 : { 19 0 : std::vector<std::string> time_derivative_names; 20 0 : for (auto & gridfunction_name : gridfunction_names) 21 : { 22 0 : time_derivative_names.push_back(GetTimeDerivativeName(gridfunction_name)); 23 : } 24 0 : return time_derivative_names; 25 0 : } 26 : 27 : void 28 24 : TimeDomainProblemOperator::SetGridFunctions() 29 : { 30 24 : ProblemOperatorInterface::SetGridFunctions(); 31 24 : width = height = _block_true_offsets[_trial_variables.size()]; 32 24 : } 33 : 34 : } // namespace Moose::MFEM 35 : 36 : #endif