www.mooseframework.org
phase_field
include
ics
C1ICBase.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
// Portions of this code Copyright 2007-2009 Roy Stogner
13
//
14
// Permission is hereby granted, free of charge, to any person obtaining
15
// a copy of this software and associated documentation files (the
16
//"Software"), to deal in the Software without restriction, including
17
// without limitation the rights to use, copy, modify, merge, publish,
18
// distribute, sublicense, and/or sell copies of the Software, and to
19
// permit persons to whom the Software is furnished to do so, subject to
20
// the following conditions:
21
//
22
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29
30
#include "Kernel.h"
31
#include "InitialCondition.h"
32
33
// System includes
34
#include <string>
35
36
// Forward Declarations
37
class
C1ICBase
;
38
39
template
<>
40
InputParameters
validParams<C1ICBase>
();
41
45
class
C1ICBase
:
public
InitialCondition
46
{
47
public
:
48
C1ICBase
(
const
InputParameters & parameters);
49
50
protected
:
51
Real
_average
;
52
Real
_amplitude
;
53
Real
_length
;
54
Real
_width
;
55
Real
_buffer
;
56
Real
_interface
;
57
58
Number
interfaceValue
(Real r);
59
Number
interfaceDerivative
(Real r);
60
};
61
C1ICBase::_interface
Real _interface
Definition:
C1ICBase.h:56
C1ICBase::_average
Real _average
Definition:
C1ICBase.h:51
validParams< C1ICBase >
InputParameters validParams< C1ICBase >()
Definition:
C1ICBase.C:32
C1ICBase::C1ICBase
C1ICBase(const InputParameters ¶meters)
Definition:
C1ICBase.C:46
C1ICBase::_amplitude
Real _amplitude
Definition:
C1ICBase.h:52
C1ICBase::_length
Real _length
Definition:
C1ICBase.h:53
C1ICBase::_width
Real _width
Definition:
C1ICBase.h:54
C1ICBase::interfaceValue
Number interfaceValue(Real r)
Definition:
C1ICBase.C:58
C1ICBase::_buffer
Real _buffer
Definition:
C1ICBase.h:55
C1ICBase
C1ICBase is used by the CrossIC.
Definition:
C1ICBase.h:45
C1ICBase::interfaceDerivative
Number interfaceDerivative(Real r)
Definition:
C1ICBase.C:71
Generated on Sat Jan 25 2020 12:04:39 for www.mooseframework.org by
1.8.16