Nektar++
LinearAdvectionDiffusionReaction.h
Go to the documentation of this file.
1///////////////////////////////////////////////////////////////////////////////
2//
3// File: LinearAdvectionDiffusionReaction.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: LinearAdvectionDiffusionReaction operators for multiple calls in
32// different operators
33//
34///////////////////////////////////////////////////////////////////////////////
35
36#ifndef NEKTAR_LIBRARY_COLLECTIONS_LINEARADVECTIONDIFFUSIONREACTION_H
37#define NEKTAR_LIBRARY_COLLECTIONS_LINEARADVECTIONDIFFUSIONREACTION_H
38
39namespace Nektar
40{
41namespace Collections
42{
43
44void QuadIProduct(bool colldir0, bool colldir1, int numElmt, int nquad0,
45 int nquad1, int nmodes0, int nmodes1,
46 const Array<OneD, const NekDouble> &base0,
47 const Array<OneD, const NekDouble> &base1,
48 const Array<OneD, const NekDouble> &jac,
49 const Array<OneD, const NekDouble> &input,
50 Array<OneD, NekDouble> &output, Array<OneD, NekDouble> &wsp);
51
52void TriIProduct(bool sortTopVertex, int numElmt, int nquad0, int nquad1,
53 int nmodes0, int nmodes1,
54 const Array<OneD, const NekDouble> &base0,
55 const Array<OneD, const NekDouble> &base1,
56 const Array<OneD, const NekDouble> &jac,
57 const Array<OneD, const NekDouble> &input,
58 Array<OneD, NekDouble> &output, Array<OneD, NekDouble> &wsp);
59
60void HexIProduct(bool colldir0, bool colldir1, bool colldir2, int numElmt,
61 int nquad0, int nquad1, int nquad2, int nmodes0, int nmodes1,
62 int nmodes2, const Array<OneD, const NekDouble> &base0,
63 const Array<OneD, const NekDouble> &base1,
64 const Array<OneD, const NekDouble> &base2,
65 const Array<OneD, const NekDouble> &jac,
66 const Array<OneD, const NekDouble> &input,
67 Array<OneD, NekDouble> &output, Array<OneD, NekDouble> &wsp);
68
69void PrismIProduct(bool sortTopVert, int numElmt, int nquad0, int nquad1,
70 int nquad2, int nmodes0, int nmodes1, int nmodes2,
71 const Array<OneD, const NekDouble> &base0,
72 const Array<OneD, const NekDouble> &base1,
73 const Array<OneD, const NekDouble> &base2,
74 const Array<OneD, const NekDouble> &jac,
75 const Array<OneD, const NekDouble> &input,
76 Array<OneD, NekDouble> &output, Array<OneD, NekDouble> &wsp);
77
78void PyrIProduct(bool sortTopVert, int numElmt, int nquad0, int nquad1,
79 int nquad2, int nmodes0, int nmodes1, int nmodes2,
80 const Array<OneD, const NekDouble> &base0,
81 const Array<OneD, const NekDouble> &base1,
82 const Array<OneD, const NekDouble> &base2,
83 const Array<OneD, const NekDouble> &jac,
84 const Array<OneD, const NekDouble> &input,
85 Array<OneD, NekDouble> &output, Array<OneD, NekDouble> &wsp);
86
87void TetIProduct(bool sortTopEdge, int numElmt, int nquad0, int nquad1,
88 int nquad2, int nmodes0, int nmodes1, int nmodes2,
89 const Array<OneD, const NekDouble> &base0,
90 const Array<OneD, const NekDouble> &base1,
91 const Array<OneD, const NekDouble> &base2,
92 const Array<OneD, const NekDouble> &jac,
93 const Array<OneD, const NekDouble> &input,
94 Array<OneD, NekDouble> &output, Array<OneD, NekDouble> &wsp);
95
96} // namespace Collections
97} // namespace Nektar
98#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