Chombo + EB + MF  3.2
DotProduct.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 _DOTPRODUCT_H_
12 #define _DOTPRODUCT_H_
13 
14 #include "BoxLayout.H"
15 #include "BoxLayoutData.H"
16 #include "FArrayBox.H"
17 #include "NamespaceHeader.H"
18 
19 // this is the all-component dot-product
20 extern Real DotProduct(const BoxLayoutData<FArrayBox>& a_dataOne,
21  const BoxLayoutData<FArrayBox>& a_dataTwo,
22  const BoxLayout& a_dblIn);
23 
24 extern Real DotProduct(const BoxLayoutData<FArrayBox>& a_dataOne,
25  const BoxLayoutData<FArrayBox>& a_dataTwo,
26  const BoxLayout& a_dblIn,
27  const Interval& a_comps);
28 
29 #include "NamespaceFooter.H"
30 #endif
A not-necessarily-disjoint collective of boxes.
Definition: BoxLayout.H:145
Structure for passing component ranges in code.
Definition: Interval.H:23
double Real
Definition: REAL.H:33
Real DotProduct(const BoxLayoutData< FArrayBox > &a_dataOne, const BoxLayoutData< FArrayBox > &a_dataTwo, const BoxLayout &a_dblIn)