www.mooseframework.org
VectorFunctionIC.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "VectorInitialCondition.h"
13 #include "Function.h"
14 
15 // System includes
16 #include <string>
17 
18 class InputParameters;
19 
20 namespace libMesh
21 {
22 class Point;
23 }
24 
29 {
30 public:
32 
34 
35  virtual RealVectorValue value(const Point & p) override;
36 
37 protected:
39  const Function * const _function;
40 
45 };
const Function & _function_z
Base class for function objects.
Definition: Function.h:37
virtual RealVectorValue 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...
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
IC that calls vectorValue method of a Function object.
static InputParameters validParams()
const Function & _function_x
Optional component function value.
const Function *const _function
Optional vectorValue function.
VectorFunctionIC(const InputParameters &parameters)
const InputParameters & parameters() const
Get the parameters of the object.
const Function & _function_y