PRISMS-PF  v2.1
boundaryConditions.cc
Go to the documentation of this file.
1 /*
2 template <int dim>
3 double NonUniformDirichletBC<dim>::value (const dealii::Point<dim> &p, const unsigned int component) const
4 {
5  double scalar_BC=0;
6  // --------------------------------------------------------------------------
7  // ENTER THE NON-UNIFORM DIRICHLET BOUNDARY CONDITIONS HERE FOR SCALAR FIELDS
8  // --------------------------------------------------------------------------
9  // Enter the function describing conditions for the fields at point "p".
10  // Use "if" statements to set the boundary condition for each variable
11  // according to its variable index. This function can be left blank if there
12  // are no non-uniform Dirichlet boundary conditions.
13 
14 
15  // -------------------------------------------------------------------------
16  return scalar_BC;
17 }
18 
19 template <int dim>
20 void NonUniformDirichletBCVec<dim>::vector_value (const dealii::Point<dim> &p, dealii::Vector<double> &vector_BC) const
21 {
22 
23  // --------------------------------------------------------------------------
24  // ENTER THE NON-UNIFORM DIRICHLET BOUNDARY CONDITIONS HERE FOR VECTOR FIELDS
25  // --------------------------------------------------------------------------
26  // Enter the function describing conditions for the fields at point "p".
27  // Use "if" statements to set the boundary condition for each variable
28  // according to its variable index. This function can be left blank if there
29  // are no non-uniform Dirichlet boundary conditions.
30 
31 
32  // -------------------------------------------------------------------------
33 
34 }
35 
36 */