SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NoElementWeights.h
Go to the documentation of this file.
1 //
2 // For more information, please see: http://software.sci.utah.edu
3 //
4 // The MIT License
5 //
6 // Copyright (c) 2009 Scientific Computing and Imaging Institute,
7 // University of Utah.
8 //
9 //
10 // Permission is hereby granted, free of charge, to any person obtaining a
11 // copy of this software and associated documentation files (the "Software"),
12 // to deal in the Software without restriction, including without limitation
13 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
14 // and/or sell copies of the Software, and to permit persons to whom the
15 // Software is furnished to do so, subject to the following conditions:
16 //
17 // The above copyright notice and this permission notice shall be included
18 // in all copies or substantial portions of the Software.
19 //
20 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
21 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
23 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26 // DEALINGS IN THE SOFTWARE.
27 
28 
29 #ifndef CORE_BASIS_NOWEIGHTS_H
30 #define CORE_BASIS_NOWEIGHTS_H 1
31 
32 namespace SCIRun {
33 namespace Core {
34 namespace Basis {
35 
37 
38 public:
39  template <class VECTOR>
40  void get_linear_weights(const VECTOR&, double*) const
41  {
42  }
43 
44  /// get derivative weight factors at parametric coordinate
45  template <class VECTOR>
46  void get_linear_derivate_weights(const VECTOR&, double*) const
47  {
48  }
49 
50  /// get weight factors at parametric coordinate
51  template< class VECTOR>
52  void get_quadratic_weights(const VECTOR&, double*) const
53  {
54  }
55 
56  /// get weight factors of derivative at parametric coordinate
57  template< class VECTOR>
58  void get_quadratic_derivate_weights(const VECTOR&, double*) const
59  {
60  }
61 
62  template <class VECTOR>
63  void get_cubic_weights(const VECTOR&, double*) const
64  {
65  }
66 
67  /// get derivative weight factors at parametric coordinate
68  template <class VECTOR>
69  void get_cubic_derivate_weights(const VECTOR &, double*) const
70  {
71  }
72 
73  inline int num_linear_weights() { return 0; }
74  inline int num_quadratic_weights() { return 0; }
75  inline int num_cubic_weights() { return 0; }
76 
77  inline int num_linear_derivate_weights() { return 0; }
78  inline int num_quadratic_derivate_weights() { return 0; }
79  inline int num_cubic_derivate_weights() { return 0; }
80 
81  inline int num_derivs() { return 0; }
82  inline int num_hderivs() { return 0; }
83 };
84 
85 }}}
86 
87 #endif
int num_cubic_weights()
Definition: NoElementWeights.h:75
void get_quadratic_derivate_weights(const VECTOR &, double *) const
get weight factors of derivative at parametric coordinate
Definition: NoElementWeights.h:58
int num_cubic_derivate_weights()
Definition: NoElementWeights.h:79
void get_cubic_derivate_weights(const VECTOR &, double *) const
get derivative weight factors at parametric coordinate
Definition: NoElementWeights.h:69
int num_linear_derivate_weights()
Definition: NoElementWeights.h:77
int num_linear_weights()
Definition: NoElementWeights.h:73
int num_quadratic_derivate_weights()
Definition: NoElementWeights.h:78
int num_hderivs()
Definition: NoElementWeights.h:82
void get_linear_derivate_weights(const VECTOR &, double *) const
get derivative weight factors at parametric coordinate
Definition: NoElementWeights.h:46
int num_derivs()
Definition: NoElementWeights.h:81
void get_linear_weights(const VECTOR &, double *) const
Definition: NoElementWeights.h:40
Definition: NoElementWeights.h:36
int num_quadratic_weights()
Definition: NoElementWeights.h:74
void get_quadratic_weights(const VECTOR &, double *) const
get weight factors at parametric coordinate
Definition: NoElementWeights.h:52
void get_cubic_weights(const VECTOR &, double *) const
Definition: NoElementWeights.h:63