https://mooseframework.inl.gov
ArrayFunctionIC.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 "ArrayInitialCondition.h"
13 
14 class Function;
15 
17 {
18 public:
20 
22 
23 protected:
27  virtual RealEigenVector value(const Point & p) override;
28 
32  virtual RealVectorArrayValue gradient(const Point & p) override;
33 
34  std::vector<const Function *> _func;
35 };
std::vector< const Function * > _func
Base class for function objects.
Definition: Function.h:36
virtual RealEigenVector value(const Point &p) override
The value of the variable at a point.
This is a template class that implements the workhorse compute and computeNodal methods.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
virtual RealVectorArrayValue gradient(const Point &p) override
The value of the gradient at a point.
static InputParameters validParams()
ArrayFunctionIC(const InputParameters &parameters)
Eigen::Matrix< Real, Eigen::Dynamic, Moose::dim > RealVectorArrayValue
Definition: MooseTypes.h:147
const InputParameters & parameters() const
Get the parameters of the object.
Eigen::Matrix< Real, Eigen::Dynamic, 1 > RealEigenVector
Definition: MooseTypes.h:146