https://mooseframework.inl.gov
ExplicitDirichletBC.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 
21 {
22 public:
24 
26 
27 protected:
28  virtual Real computeQpValue() override;
29 
31  const Real & _value;
32 
34  NumericVector<Real> * _ones;
35 };
virtual Real computeQpValue() override
Compute the value of the DirichletBC at the current quadrature point.
ExplicitDirichletBC(const InputParameters &parameters)
Base boundary condition of a direct Dirichlet type.
static InputParameters validParams()
Boundary condition of a Direct Dirichlet type For use with direct central difference time integrator...
NumericVector< Real > * _ones
Vector of 1&#39;s to help with creating the lumped mass matrix.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real & _value
The value for this BC.
const InputParameters & parameters() const