https://mooseframework.inl.gov
Loading...
Searching...
No Matches
VectorFunctionIC.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
13#include "Function.h"
14
15// System includes
16#include <string>
17
18class InputParameters;
19
20namespace libMesh
21{
22class Point;
23}
24
29{
30public:
32
34
35 virtual RealVectorValue value(const Point & p) override;
36
37protected:
39 const Function * const _function;
40
45};
Base class for function objects.
Definition Function.h:30
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.
const InputParameters & parameters() const
Get the parameters of the object.
Definition MooseBase.h:131
IC that calls vectorValue method of a Function object.
static InputParameters validParams()
const Function *const _function
Optional vectorValue function.
const Function & _function_z
const Function & _function_x
Optional component function value.
virtual RealVectorValue value(const Point &p) override
The value of the variable at a point.
const Function & _function_y
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...