Chombo + EB  3.2
NodeBCFunc.H
Go to the documentation of this file.
1 #ifdef CH_LANG_CC
2 /*
3  * _______ __
4  * / ___/ / ___ __ _ / / ___
5  * / /__/ _ \/ _ \/ V \/ _ \/ _ \
6  * \___/_//_/\___/_/_/_/_.__/\___/
7  * Please refer to Copyright.txt, in Chombo's root directory.
8  */
9 #endif
10 
11 #ifndef _NODEBCFUNC_H_
12 #define _NODEBCFUNC_H_
13 
14 #include "BCFunc.H"
15 #include "NodeFArrayBox.H"
16 #include "ProblemDomain.H"
17 #include "NamespaceHeader.H"
18 
19 ///
20 /**
21  */
22 typedef void(*NodeBCFunc)(NodeFArrayBox& a_state,
23  const Box& a_valid,
24  const ProblemDomain& a_domain,
25  Real a_dx,
26  bool a_homogeneous);
27 
28 ///
29 /**
30  neum bc for a particular side
31 */
32 void NodeNeumBC(NodeFArrayBox& a_state,
33  const Box& a_valid,
34  Real a_dx,
35  bool a_homogeneous,
36  BCValueHolder a_value,
37  int a_dir,
38  Side::LoHiSide a_side);
39 
40 ///
41 /**
42  neum bc for all sides
43 */
44 void NodeNeumBC(NodeFArrayBox& a_state,
45  const Box& a_valid,
46  Real a_dx,
47  bool a_homogeneous,
48  BCValueHolder a_value);
49 
50 ///
51 /**
52  */
53 void NodeDiriBC(NodeFArrayBox& a_state,
54  const Box& a_valid,
55  Real a_dx,
56  bool a_homogeneous,
57  BCValueHolder a_value,
58  int a_dir,
59  Side::LoHiSide a_side,
60  int order = 2);
61 
62 ///
63 /**
64  diri bc for all sides
65 */
66 void NodeDiriBC(NodeFArrayBox& a_state,
67  const Box& a_valid,
68  Real a_dx,
69  bool a_homogeneous,
70  BCValueHolder a_value,
71  int order = 2);
72 
73 #include "NamespaceFooter.H"
74 #endif
Definition: BCFunc.H:223
void NodeDiriBC(NodeFArrayBox &a_state, const Box &a_valid, Real a_dx, bool a_homogeneous, BCValueHolder a_value, int a_dir, Side::LoHiSide a_side, int order=2)
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
void NodeNeumBC(NodeFArrayBox &a_state, const Box &a_valid, Real a_dx, bool a_homogeneous, BCValueHolder a_value, int a_dir, Side::LoHiSide a_side)
double Real
Definition: REAL.H:33
LoHiSide
Definition: LoHiSide.H:27
void(* NodeBCFunc)(NodeFArrayBox &a_state, const Box &a_valid, const ProblemDomain &a_domain, Real a_dx, bool a_homogeneous)
Definition: NodeBCFunc.H:22
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
A wrapper for an FArrayBox to contain NODE-centered data.
Definition: NodeFArrayBox.H:122