www.mooseframework.org
phase_field
include
ics
RampIC.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 "InitialCondition.h"
13
14
// Forward Declarations
15
class
RampIC
;
16
17
template
<>
18
InputParameters
validParams<RampIC>
();
19
24
class
RampIC
:
public
InitialCondition
25
{
26
public
:
27
RampIC
(
const
InputParameters & parameters);
28
29
protected
:
33
virtual
Real
value
(
const
Point & p);
34
38
virtual
RealGradient
gradient
(
const
Point &
/*p*/
);
39
40
const
Real
_xlength
;
41
const
Real
_xmin
;
42
const
Real
_value_left
;
43
const
Real
_value_right
;
44
};
45
libMesh::RealGradient
VectorValue< Real > RealGradient
Definition:
GrainForceAndTorqueInterface.h:17
RampIC::gradient
virtual RealGradient gradient(const Point &)
The value of the gradient at a point.
Definition:
RampIC.C:44
RampIC::_xlength
const Real _xlength
Definition:
RampIC.h:40
RampIC::_value_right
const Real _value_right
Definition:
RampIC.h:43
RampIC
Makes initial condition which creates a linear ramp of the given variable on the x-axis with specifie...
Definition:
RampIC.h:24
validParams< RampIC >
InputParameters validParams< RampIC >()
Definition:
RampIC.C:18
RampIC::value
virtual Real value(const Point &p)
The value of the variable at a point.
Definition:
RampIC.C:38
RampIC::RampIC
RampIC(const InputParameters ¶meters)
Definition:
RampIC.C:28
RampIC::_xmin
const Real _xmin
Definition:
RampIC.h:41
RampIC::_value_left
const Real _value_left
Definition:
RampIC.h:42
Generated on Sat Jan 25 2020 12:04:39 for www.mooseframework.org by
1.8.16