libMesh
initial.C
Go to the documentation of this file.
1 #include "initial.h"
2 #include "femparameters.h"
3 
4 // Bring in everything from the libMesh namespace
5 using namespace libMesh;
6 
8 {
9 }
10 
12 {
13 }
14 
15 
16 
17 // Initial conditions
18 Number initial_value(const Point & /* p */,
19  const Parameters & /* param */,
20  const std::string &,
21  const std::string &)
22 {
23 
24  return Number(1.);
25 
26 }
27 
28 
29 
30 Gradient initial_grad(const Point & /* p */,
31  const Parameters & /* param */,
32  const std::string &,
33  const std::string &)
34 {
35  return Gradient(0.);
36 }
void finish_initialization()
Definition: initial.C:11
This class provides the ability to map between arbitrary, user-defined strings and several data types...
Definition: parameters.h:63
The libMesh namespace provides an interface to certain functionality in the library.
NumberVectorValue Gradient
Gradient initial_grad(const Point &, const Parameters &, const std::string &, const std::string &)
Definition: initial.C:30
void read_initial_parameters()
Definition: initial.C:7
A Point defines a location in LIBMESH_DIM dimensional Real space.
Definition: point.h:38
Number initial_value(const Point &, const Parameters &, const std::string &, const std::string &)
Definition: initial.C:18