https://mooseframework.inl.gov
Loading...
Searching...
No Matches
TagVectorArrayVariableAux.h
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#pragma once
11
12#include "TagAuxBase.h"
13#include "AuxKernel.h"
14
19class TagVectorArrayVariableAux : public TagAuxBase<ArrayAuxKernel>
20{
21public:
23
25
26protected:
27 void compute() override;
28 RealEigenVector computeValue() override final { mooseError("Work is implemented in compute"); }
29
33
36};
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
Definition MooseError.h:311
OutputTools< RealEigenVector >::VariableValue ArrayVariableValue
Definition MooseTypes.h:382
Base class for creating new auxiliary kernels and auxiliary boundary conditions.
Definition AuxKernel.h:28
const ArrayVariableValue & coupledVectorTagArrayDofValue(const std::string &var_name, const std::string &tag_name, unsigned int comp=0) const
Returns evaluations of a tagged vector at the requested variable's degree of freedom indices.
Definition Coupleable.C:814
ArrayMooseVariable * getArrayVar(const std::string &var_name, unsigned int comp)
Extract pointer to a coupled array variable.
Definition Coupleable.C:337
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
The value of a tagged vector for a given node and a given variable is coupled to the current AuxVaria...
Definition TagAuxBase.h:22
Couple a tagged vector, and return its evaluations at degree of freedom indices corresponding to the ...
static InputParameters validParams()
const ArrayVariableValue & _v
The result of evaluating the supplied tagged vector at the degrees of freedom corresponding to the pr...
void compute() override
Computes the value and stores it in the solution vector.
RealEigenVector computeValue() override final
Compute and return the value of the aux variable.