https://mooseframework.inl.gov
Loading...
Searching...
No Matches
VectorConstantIC.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
14// System includes
15#include <string>
16
17class InputParameters;
18
19namespace libMesh
20{
21class Point;
22}
23
28{
29public:
31
33
34 virtual RealVectorValue value(const Point & p) override;
35
36protected:
37 const Real _x_value;
38 const Real _y_value;
39 const Real _z_value;
40};
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
VectorConstantIC just returns a constant value.
virtual RealVectorValue value(const Point &p) override
The value of the variable at a point.
static InputParameters validParams()
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...