MADNESS  version 0.9
functypedefs.h
Go to the documentation of this file.
1 /*
2  This file is part of MADNESS.
3 
4  Copyright (C) 2007,2010 Oak Ridge National Laboratory
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program; if not, write to the Free Software
18  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 
20  For more information please contact:
21 
22  Robert J. Harrison
23  Oak Ridge National Laboratory
24  One Bethel Valley Road
25  P.O. Box 2008, MS-6367
26 
27  email: harrisonrj@ornl.gov
28  tel: 865-241-3937
29  fax: 865-572-0680
30 
31  $Id$
32 */
33 #ifndef MADNESS_MRA_FUNCTYPEDEFS_H__INCLUDED
34 #define MADNESS_MRA_FUNCTYPEDEFS_H__INCLUDED
35 
38 
39 namespace madness {
40  typedef Tensor<double> real_tensor;
41  typedef Tensor<double_complex> complex_tensor;
42 
43  typedef Tensor<double> tensor_real;
44  typedef Tensor<double_complex> tensor_complex;
45 
48  typedef Vector<double,3> coord_3d;
51  typedef Vector<double,6> coord_6d;
52 
53  typedef std::vector<double> vector_real;
54  typedef std::vector< std::complex<double> > vector_complex;
55 
56  typedef std::vector< Vector<double,1> > vector_coord_1d;
57  typedef std::vector< Vector<double,2> > vector_coord_2d;
58  typedef std::vector< Vector<double,3> > vector_coord_3d;
59  typedef std::vector< Vector<double,4> > vector_coord_4d;
60  typedef std::vector< Vector<double,5> > vector_coord_5d;
61  typedef std::vector< Vector<double,6> > vector_coord_6d;
62 
69 
76 
77  typedef std::vector<real_function_1d> vector_real_function_1d;
78  typedef std::vector<real_function_2d> vector_real_function_2d;
79  typedef std::vector<real_function_3d> vector_real_function_3d;
80  typedef std::vector<real_function_4d> vector_real_function_4d;
81  typedef std::vector<real_function_5d> vector_real_function_5d;
82  typedef std::vector<real_function_6d> vector_real_function_6d;
83 
84  typedef std::vector<complex_function_1d> vector_complex_function_1d;
85  typedef std::vector<complex_function_2d> vector_complex_function_2d;
86  typedef std::vector<complex_function_3d> vector_complex_function_3d;
87  typedef std::vector<complex_function_4d> vector_complex_function_4d;
88  typedef std::vector<complex_function_5d> vector_complex_function_5d;
89  typedef std::vector<complex_function_6d> vector_complex_function_6d;
90 
97 
104 
111 
118 
125 
132 
139 
146 
153 
160 
167 
174 
181 
188 }
189 
190 #endif // MADNESS_MRA_MRA_H__INCLUDED
FunctionDefaults< 4 > function_defaults_4d
Definition: functypedefs.h:185
Function< double, 1 > real_function_1d
Definition: functypedefs.h:63
Function< double_complex, 2 > complex_function_2d
Definition: functypedefs.h:71
Derivative< double, 6 > real_derivative_6d
Definition: functypedefs.h:173
std::vector< complex_function_1d > vector_complex_function_1d
Definition: functypedefs.h:84
Derivative< double, 4 > real_derivative_4d
Definition: functypedefs.h:171
Definition: shared_ptr_bits.h:38
std::vector< real_function_1d > vector_real_function_1d
Definition: functypedefs.h:77
std::vector< complex_function_2d > vector_complex_function_2d
Definition: functypedefs.h:85
std::shared_ptr< FunctionFunctorInterface< double_complex, 2 > > complex_functor_2d
Definition: functypedefs.h:113
Derivative< double_complex, 6 > complex_derivative_6d
Definition: functypedefs.h:180
FunctionDefaults holds default paramaters as static class members.
Definition: funcdefaults.h:175
std::shared_ptr< complex_convolution_5d > complex_convolution_5d_ptr
Definition: functypedefs.h:144
Vector< double, 2 > coord_2d
Definition: functypedefs.h:47
std::shared_ptr< FunctionFunctorInterface< double, 2 > > real_functor_2d
Definition: functypedefs.h:106
FunctionImpl< double_complex, 4 > complex_funcimpl_4d
Definition: functypedefs.h:164
SeparatedConvolution< double_complex, 4 > complex_convolution_4d
Definition: functypedefs.h:129
std::vector< complex_function_5d > vector_complex_function_5d
Definition: functypedefs.h:88
A simple, fixed dimension Coordinate.
Definition: array.h:99
Function< double_complex, 1 > complex_function_1d
Definition: functypedefs.h:70
Implements derivatives operators with variety of boundary conditions on simulation domain...
Definition: derivative.h:272
FunctionFactory< double, 6 > real_factory_6d
Definition: functypedefs.h:96
Derivative< double_complex, 5 > complex_derivative_5d
Definition: functypedefs.h:179
std::shared_ptr< real_convolution_2d > real_convolution_2d_ptr
Definition: functypedefs.h:134
Function< double_complex, 6 > complex_function_6d
Definition: functypedefs.h:75
std::shared_ptr< FunctionFunctorInterface< double_complex, 1 > > complex_functor_1d
Definition: functypedefs.h:112
Tensor< double > tensor_real
Definition: functypedefs.h:43
FunctionDefaults< 1 > function_defaults_1d
Definition: functypedefs.h:182
Convolutions in separated form (including Gaussian)
Definition: operator.h:117
std::shared_ptr< FunctionFunctorInterface< double_complex, 3 > > complex_functor_3d
Definition: functypedefs.h:114
std::shared_ptr< complex_convolution_4d > complex_convolution_4d_ptr
Definition: functypedefs.h:143
std::vector< Vector< double, 6 > > vector_coord_6d
Definition: functypedefs.h:61
std::vector< Vector< double, 1 > > vector_coord_1d
Definition: functypedefs.h:56
SeparatedConvolution< double, 5 > real_convolution_5d
Definition: functypedefs.h:123
std::vector< Vector< double, 5 > > vector_coord_5d
Definition: functypedefs.h:60
std::shared_ptr< real_convolution_3d > real_convolution_3d_ptr
Definition: functypedefs.h:135
std::shared_ptr< FunctionFunctorInterface< double_complex, 6 > > complex_functor_6d
Definition: functypedefs.h:117
Vector< double, 3 > coord_3d
Definition: funcplot.h:634
std::shared_ptr< complex_convolution_1d > complex_convolution_1d_ptr
Definition: functypedefs.h:140
std::vector< std::complex< double > > vector_complex
Definition: functypedefs.h:54
std::vector< real_function_6d > vector_real_function_6d
Definition: functypedefs.h:82
FunctionFactory< double, 2 > real_factory_2d
Definition: functypedefs.h:92
SeparatedConvolution< double_complex, 6 > complex_convolution_6d
Definition: functypedefs.h:131
FunctionDefaults< 6 > function_defaults_6d
Definition: functypedefs.h:187
std::vector< real_function_3d > vector_real_function_3d
Definition: functypedefs.h:79
Derivative< double_complex, 1 > complex_derivative_1d
Definition: functypedefs.h:175
std::vector< Vector< double, 3 > > vector_coord_3d
Definition: functypedefs.h:58
FunctionImpl< double_complex, 6 > complex_funcimpl_6d
Definition: functypedefs.h:166
FunctionImpl< double, 3 > real_funcimpl_3d
Definition: functypedefs.h:156
Tensor< double_complex > complex_tensor
Definition: functypedefs.h:41
Function< double, 5 > real_function_5d
Definition: functypedefs.h:67
FunctionImpl holds all Function state to facilitate shallow copy semantics.
Definition: funcdefaults.h:48
FunctionImpl< double_complex, 1 > complex_funcimpl_1d
Definition: functypedefs.h:161
Function< double, 3 > real_function_3d
Definition: functypedefs.h:65
FunctionFactory< double_complex, 4 > complex_factory_4d
Definition: functypedefs.h:101
FunctionFactory< double, 5 > real_factory_5d
Definition: functypedefs.h:95
std::shared_ptr< FunctionFunctorInterface< double, 1 > > real_functor_1d
Definition: functypedefs.h:105
FunctionDefaults< 3 > function_defaults_3d
Definition: functypedefs.h:184
FunctionImpl< double, 1 > real_funcimpl_1d
Definition: functypedefs.h:154
std::shared_ptr< FunctionFunctorInterface< double_complex, 4 > > complex_functor_4d
Definition: functypedefs.h:115
Derivative< double, 3 > real_derivative_3d
Definition: functypedefs.h:170
std::shared_ptr< FunctionFunctorInterface< double_complex, 5 > > complex_functor_5d
Definition: functypedefs.h:116
Vector< double, 1 > coord_1d
Definition: functypedefs.h:46
FunctionFactory< double_complex, 1 > complex_factory_1d
Definition: functypedefs.h:98
std::shared_ptr< complex_convolution_2d > complex_convolution_2d_ptr
Definition: functypedefs.h:141
FunctionImpl< double, 2 > real_funcimpl_2d
Definition: functypedefs.h:155
SeparatedConvolution< double, 6 > real_convolution_6d
Definition: functypedefs.h:124
std::shared_ptr< WorldDCPmapInterface< Key< 6 > > > pmap_6d
Definition: functypedefs.h:152
FunctionFactory< double_complex, 5 > complex_factory_5d
Definition: functypedefs.h:102
std::shared_ptr< complex_convolution_6d > complex_convolution_6d_ptr
Definition: functypedefs.h:145
SeparatedConvolution< double, 2 > real_convolution_2d
Definition: functypedefs.h:120
std::shared_ptr< real_convolution_1d > real_convolution_1d_ptr
Definition: functypedefs.h:133
std::shared_ptr< WorldDCPmapInterface< Key< 3 > > > pmap_3d
Definition: functypedefs.h:149
Function< double, 6 > real_function_6d
Definition: functypedefs.h:68
FunctionImpl< double, 5 > real_funcimpl_5d
Definition: functypedefs.h:158
std::vector< real_function_5d > vector_real_function_5d
Definition: functypedefs.h:81
FunctionImpl< double, 6 > real_funcimpl_6d
Definition: functypedefs.h:159
SeparatedConvolution< double, 3 > real_convolution_3d
Definition: functypedefs.h:121
std::vector< real_function_4d > vector_real_function_4d
Definition: functypedefs.h:80
Derivative< double_complex, 2 > complex_derivative_2d
Definition: functypedefs.h:176
std::vector< complex_function_4d > vector_complex_function_4d
Definition: functypedefs.h:87
Function< double, 4 > real_function_4d
Definition: functypedefs.h:66
FunctionImpl< double_complex, 3 > complex_funcimpl_3d
Definition: functypedefs.h:163
Derivative< double_complex, 4 > complex_derivative_4d
Definition: functypedefs.h:178
Tensor< double > real_tensor
Definition: functypedefs.h:40
std::shared_ptr< FunctionFunctorInterface< double, 3 > > real_functor_3d
Definition: functypedefs.h:107
FunctionFactory< double, 4 > real_factory_4d
Definition: functypedefs.h:94
std::shared_ptr< real_convolution_4d > real_convolution_4d_ptr
Definition: functypedefs.h:136
SeparatedConvolution< double_complex, 1 > complex_convolution_1d
Definition: functypedefs.h:126
Function< double_complex, 4 > complex_function_4d
Definition: functypedefs.h:73
A multiresolution adaptive numerical function.
Definition: derivative.h:61
Derivative< double, 1 > real_derivative_1d
Definition: functypedefs.h:168
Vector< double, 6 > coord_6d
Definition: funcplot.h:635
std::shared_ptr< complex_convolution_3d > complex_convolution_3d_ptr
Definition: functypedefs.h:142
Derivative< double, 2 > real_derivative_2d
Definition: functypedefs.h:169
FunctionDefaults< 2 > function_defaults_2d
Definition: functypedefs.h:183
std::shared_ptr< WorldDCPmapInterface< Key< 4 > > > pmap_4d
Definition: functypedefs.h:150
FunctionFactory< double_complex, 6 > complex_factory_6d
Definition: functypedefs.h:103
std::shared_ptr< FunctionFunctorInterface< double, 6 > > real_functor_6d
Definition: functypedefs.h:110
std::vector< complex_function_3d > vector_complex_function_3d
Definition: functypedefs.h:86
Function< double, 2 > real_function_2d
Definition: functypedefs.h:64
FunctionImpl< double_complex, 5 > complex_funcimpl_5d
Definition: functypedefs.h:165
std::shared_ptr< real_convolution_5d > real_convolution_5d_ptr
Definition: functypedefs.h:137
std::vector< double > vector_real
Definition: functypedefs.h:53
std::shared_ptr< real_convolution_6d > real_convolution_6d_ptr
Definition: functypedefs.h:138
SeparatedConvolution< double_complex, 5 > complex_convolution_5d
Definition: functypedefs.h:130
SeparatedConvolution< double_complex, 2 > complex_convolution_2d
Definition: functypedefs.h:127
Function< double_complex, 3 > complex_function_3d
Definition: functypedefs.h:72
Derivative< double, 5 > real_derivative_5d
Definition: functypedefs.h:172
Vector< double, 4 > coord_4d
Definition: functypedefs.h:49
FunctionFactory< double_complex, 3 > complex_factory_3d
Definition: functypedefs.h:100
SeparatedConvolution< double_complex, 3 > complex_convolution_3d
Definition: functypedefs.h:128
std::shared_ptr< FunctionFunctorInterface< double, 4 > > real_functor_4d
Definition: functypedefs.h:108
Function< double_complex, 5 > complex_function_5d
Definition: functypedefs.h:74
std::vector< complex_function_6d > vector_complex_function_6d
Definition: functypedefs.h:89
Derivative< double_complex, 3 > complex_derivative_3d
Definition: functypedefs.h:177
FunctionFactory< double, 3 > real_factory_3d
Definition: functypedefs.h:93
Vector< double, 5 > coord_5d
Definition: functypedefs.h:50
std::shared_ptr< WorldDCPmapInterface< Key< 5 > > > pmap_5d
Definition: functypedefs.h:151
FunctionImpl< double_complex, 2 > complex_funcimpl_2d
Definition: functypedefs.h:162
FunctionFactory< double, 1 > real_factory_1d
Definition: functypedefs.h:91
SeparatedConvolution< double, 4 > real_convolution_4d
Definition: functypedefs.h:122
FunctionFactory< double_complex, 2 > complex_factory_2d
Definition: functypedefs.h:99
FunctionFactory implements the named-parameter idiom for Function.
Definition: funcimpl.h:70
FunctionImpl< double, 4 > real_funcimpl_4d
Definition: functypedefs.h:157
Tensor< double_complex > tensor_complex
Definition: functypedefs.h:44
Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces.
Definition: chem/atomutil.cc:45
FunctionDefaults< 5 > function_defaults_5d
Definition: functypedefs.h:186
std::shared_ptr< WorldDCPmapInterface< Key< 2 > > > pmap_2d
Definition: functypedefs.h:148
std::vector< real_function_2d > vector_real_function_2d
Definition: functypedefs.h:78
std::shared_ptr< FunctionFunctorInterface< double, 5 > > real_functor_5d
Definition: functypedefs.h:109
std::vector< Vector< double, 2 > > vector_coord_2d
Definition: functypedefs.h:57
SeparatedConvolution< double, 1 > real_convolution_1d
Definition: functypedefs.h:119
std::shared_ptr< WorldDCPmapInterface< Key< 1 > > > pmap_1d
Definition: functypedefs.h:147
std::vector< Vector< double, 4 > > vector_coord_4d
Definition: functypedefs.h:59