Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IProduct.h
Go to the documentation of this file.
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 // File: IProduct.h
4 //
5 // For more information, please see: http://www.nektar.info
6 //
7 // The MIT License
8 //
9 // Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
10 // Department of Aeronautics, Imperial College London (UK), and Scientific
11 // Computing and Imaging Institute, University of Utah (USA).
12 //
13 // License for the specific language governing rights and limitations under
14 // Permission is hereby granted, free of charge, to any person obtaining a
15 // copy of this software and associated documentation files (the "Software"),
16 // to deal in the Software without restriction, including without limitation
17 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
18 
19 // Software is furnished to do so, subject to the following conditions:
20 //
21 // The above copyright notice and this permission notice shall be included
22 // in all copies or substantial portions of the Software.
23 //
24 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
25 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
27 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
29 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
30 // DEALINGS IN THE SOFTWARE.
31 //
32 // Description: IProduct operators in 2D for multiple calls in different operators
33 //
34 ///////////////////////////////////////////////////////////////////////////////
35 
36 #ifndef NEKTAR_LIBRARY_COLLECTIONS_IPRODUCT_H
37 #define NEKTAR_LIBRARY_COLLECTIONS_IPRODUCT_H
38 
39 namespace Nektar
40 {
41 namespace Collections
42 {
43 
44 void QuadIProduct(bool colldir0, bool colldir1, int numElmt,
45  int nquad0, int nquad1,
46  int nmodes0, int nmodes1,
47  const Array<OneD, const NekDouble> &base0,
48  const Array<OneD, const NekDouble> &base1,
49  const Array<OneD, const NekDouble> &jac,
50  const Array<OneD, const NekDouble> &input,
51  Array<OneD, NekDouble> &output,
52  Array<OneD, NekDouble> &wsp);
53 
54 void TriIProduct(bool sortTopVertex, int numElmt, int nquad0,
55  int nquad1, int nmodes0, int nmodes1,
56  const Array<OneD, const NekDouble> &base0,
57  const Array<OneD, const NekDouble> &base1,
58  const Array<OneD, const NekDouble> &jac,
59  const Array<OneD, const NekDouble> &input,
60  Array<OneD, NekDouble> &output,
61  Array<OneD, NekDouble> &wsp);
62 
63 void HexIProduct(bool colldir0, bool colldir1, bool colldir2, int numElmt,
64  int nquad0, int nquad1, int nquad2,
65  int nmodes0, int nmodes1, int nmodes2,
66  const Array<OneD, const NekDouble> &base0,
67  const Array<OneD, const NekDouble> &base1,
68  const Array<OneD, const NekDouble> &base2,
69  const Array<OneD, const NekDouble> &jac,
70  const Array<OneD, const NekDouble> &input,
71  Array<OneD, NekDouble> &output,
72  Array<OneD, NekDouble> &wsp);
73 
74 void PrismIProduct(bool sortTopVert, int numElmt,
75  int nquad0, int nquad1, int nquad2,
76  int nmodes0, int nmodes1, int nmodes2,
77  const Array<OneD, const NekDouble> &base0,
78  const Array<OneD, const NekDouble> &base1,
79  const Array<OneD, const NekDouble> &base2,
80  const Array<OneD, const NekDouble> &jac,
81  const Array<OneD, const NekDouble> &input,
82  Array<OneD, NekDouble> &output,
83  Array<OneD, NekDouble> &wsp);
84 
85 void TetIProduct(bool sortTopEdge, int numElmt,
86  int nquad0, int nquad1, int nquad2,
87  int nmodes0, int nmodes1, int nmodes2,
88  const Array<OneD, const NekDouble> &base0,
89  const Array<OneD, const NekDouble> &base1,
90  const Array<OneD, const NekDouble> &base2,
91  const Array<OneD, const NekDouble> &jac,
92  const Array<OneD, const NekDouble> &input,
93  Array<OneD, NekDouble> &output,
94  Array<OneD, NekDouble> &wsp);
95 
96 }
97 }
98 #endif
void HexIProduct(bool colldir0, bool colldir1, bool colldir2, int numElmt, int nquad0, int nquad1, int nquad2, int nmodes0, int nmodes1, int nmodes2, const Array< OneD, const NekDouble > &base0, const Array< OneD, const NekDouble > &base1, const Array< OneD, const NekDouble > &base2, const Array< OneD, const NekDouble > &jac, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp)
Definition: IProduct.cpp:179
void QuadIProduct(bool colldir0, bool colldir1, int numElmt, int nquad0, int nquad1, int nmodes0, int nmodes1, const Array< OneD, const NekDouble > &base0, const Array< OneD, const NekDouble > &base1, const Array< OneD, const NekDouble > &jac, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp)
Definition: IProduct.cpp:49
void TetIProduct(bool sortTopEdge, int numElmt, int nquad0, int nquad1, int nquad2, int nmodes0, int nmodes1, int nmodes2, const Array< OneD, const NekDouble > &base0, const Array< OneD, const NekDouble > &base1, const Array< OneD, const NekDouble > &base2, const Array< OneD, const NekDouble > &jac, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp)
Definition: IProduct.cpp:428
void TriIProduct(bool sortTopVertex, int numElmt, int nquad0, int nquad1, int nmodes0, int nmodes1, const Array< OneD, const NekDouble > &base0, const Array< OneD, const NekDouble > &base1, const Array< OneD, const NekDouble > &jac, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp)
Definition: IProduct.cpp:135
void PrismIProduct(bool sortTopVertex, int numElmt, int nquad0, int nquad1, int nquad2, int nmodes0, int nmodes1, int nmodes2, const Array< OneD, const NekDouble > &base0, const Array< OneD, const NekDouble > &base1, const Array< OneD, const NekDouble > &base2, const Array< OneD, const NekDouble > &jac, const Array< OneD, const NekDouble > &input, Array< OneD, NekDouble > &output, Array< OneD, NekDouble > &wsp)
Definition: IProduct.cpp:356