Nektar++
library/Collections/Helmholtz.h
Go to the documentation of this file.
1///////////////////////////////////////////////////////////////////////////////
2//
3// File: Helmholtz.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// Permission is hereby granted, free of charge, to any person obtaining a
14// copy of this software and associated documentation files (the "Software"),
15// to deal in the Software without restriction, including without limitation
16// the rights to use, copy, modify, merge, publish, distribute, sublicense,
17
18// Software is furnished to do so, subject to the following conditions:
19//
20// The above copyright notice and this permission notice shall be included
21// in all copies or substantial portions of the Software.
22//
23// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
24// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29// DEALINGS IN THE SOFTWARE.
30//
31// Description: Helmholtz operators for multiple calls in different operators
32//
33///////////////////////////////////////////////////////////////////////////////
34
35#ifndef NEKTAR_LIBRARY_COLLECTIONS_HELMHOLTZ_H
36#define NEKTAR_LIBRARY_COLLECTIONS_HELMHOLTZ_H
37
38namespace Nektar
39{
40namespace Collections
41{
42
43void QuadIProduct(bool colldir0, bool colldir1, int numElmt, int nquad0,
44 int nquad1, int nmodes0, int nmodes1,
45 const Array<OneD, const NekDouble> &base0,
46 const Array<OneD, const NekDouble> &base1,
47 const Array<OneD, const NekDouble> &jac,
48 const Array<OneD, const NekDouble> &input,
49 Array<OneD, NekDouble> &output, Array<OneD, NekDouble> &wsp);
50
51void TriIProduct(bool sortTopVertex, int numElmt, int nquad0, int nquad1,
52 int nmodes0, int nmodes1,
53 const Array<OneD, const NekDouble> &base0,
54 const Array<OneD, const NekDouble> &base1,
55 const Array<OneD, const NekDouble> &jac,
56 const Array<OneD, const NekDouble> &input,
57 Array<OneD, NekDouble> &output, Array<OneD, NekDouble> &wsp);
58
59void HexIProduct(bool colldir0, bool colldir1, bool colldir2, int numElmt,
60 int nquad0, int nquad1, int nquad2, int nmodes0, int nmodes1,
61 int nmodes2, const Array<OneD, const NekDouble> &base0,
62 const Array<OneD, const NekDouble> &base1,
63 const Array<OneD, const NekDouble> &base2,
64 const Array<OneD, const NekDouble> &jac,
65 const Array<OneD, const NekDouble> &input,
66 Array<OneD, NekDouble> &output, Array<OneD, NekDouble> &wsp);
67
68void PrismIProduct(bool sortTopVert, int numElmt, int nquad0, int nquad1,
69 int nquad2, int nmodes0, int nmodes1, int nmodes2,
70 const Array<OneD, const NekDouble> &base0,
71 const Array<OneD, const NekDouble> &base1,
72 const Array<OneD, const NekDouble> &base2,
73 const Array<OneD, const NekDouble> &jac,
74 const Array<OneD, const NekDouble> &input,
75 Array<OneD, NekDouble> &output, Array<OneD, NekDouble> &wsp);
76
77void PyrIProduct(bool sortTopVert, int numElmt, int nquad0, int nquad1,
78 int nquad2, int nmodes0, int nmodes1, int nmodes2,
79 const Array<OneD, const NekDouble> &base0,
80 const Array<OneD, const NekDouble> &base1,
81 const Array<OneD, const NekDouble> &base2,
82 const Array<OneD, const NekDouble> &jac,
83 const Array<OneD, const NekDouble> &input,
84 Array<OneD, NekDouble> &output, Array<OneD, NekDouble> &wsp);
85
86void TetIProduct(bool sortTopEdge, int numElmt, int nquad0, int nquad1,
87 int nquad2, 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, Array<OneD, NekDouble> &wsp);
94
95} // namespace Collections
96} // namespace Nektar
97#endif
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:496
void PyrIProduct(bool sortTopVert, 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:405
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:128
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:46
void PrismIProduct(bool sortTopVert, 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:338
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:170