forked from idaholab/moose
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ArrayDirichletBC.h
42 lines (34 loc) · 1.35 KB
/
ArrayDirichletBC.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC */
/* ALL RIGHTS RESERVED */
/* */
/* Prepared by Battelle Energy Alliance, LLC */
/* Under Contract No. DE-AC07-05ID14517 */
/* With the U. S. Department of Energy */
/* */
/* See COPYRIGHT for full restrictions */
/****************************************************************/
#ifndef ARRAYDIRICHLETBC_H
#define ARRAYDIRICHLETBC_H
#include "ArrayNodalBC.h"
class ArrayDirichletBC;
template<>
InputParameters validParams<ArrayDirichletBC>();
/**
* Boundary condition of a Dirichlet type
*
* Sets the value in the node
*/
class ArrayDirichletBC : public ArrayNodalBC
{
public:
ArrayDirichletBC(const InputParameters & parameters);
protected:
virtual void computeQpResidual() override;
/// The value for this BC
Eigen::VectorXd _value;
};
#endif /* ARRAYDIRICHLETBC_H */