Line data Source code
1 : /**********************************************************************/ 2 : /* DO NOT MODIFY THIS HEADER */ 3 : /* Swift, a Fourier spectral solver for MOOSE */ 4 : /* */ 5 : /* Copyright 2024 Battelle Energy Alliance, LLC */ 6 : /* ALL RIGHTS RESERVED */ 7 : /**********************************************************************/ 8 : 9 : #pragma once 10 : 11 : #include "MooseObject.h" 12 : #include "TensorProblem.h" 13 : 14 : class TensorProblemInterface 15 : { 16 : public: 17 12 : TensorProblemInterface(MooseObject * moose_object) 18 24 : : _tensor_problem(TensorProblem::cast( 19 : moose_object, 20 24 : *moose_object->parameters().getCheckedPointerParam<SubProblem *>("_subproblem"))) 21 : { 22 12 : } 23 : 24 : protected: 25 : TensorProblem & _tensor_problem; 26 : };