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 : #pragma once 11 : 12 : #include "TagAuxBase.h" 13 : #include "AuxKernel.h" 14 : 15 : /** 16 : * Couple a tagged vector, and return its evaluations at degree of freedom indices corresponding to 17 : * the coupled array variable 18 : */ 19 : class TagVectorArrayVariableAux : public TagAuxBase<ArrayAuxKernel> 20 : { 21 : public: 22 : static InputParameters validParams(); 23 : 24 : TagVectorArrayVariableAux(const InputParameters & parameters); 25 : 26 : protected: 27 : void compute() override; 28 0 : RealEigenVector computeValue() override final { mooseError("Work is implemented in compute"); } 29 : 30 : /// The result of evaluating the supplied tagged vector at the degrees of freedom corresponding to 31 : /// the provided array variable 32 : const ArrayVariableValue & _v; 33 : 34 : using TagAuxBase<ArrayAuxKernel>::coupledVectorTagArrayDofValue; 35 : using TagAuxBase<ArrayAuxKernel>::getArrayVar; 36 : };