19 #if !defined escript_DataFactory_20040721_H
20 #define escript_DataFactory_20040721_H
28 #include <boost/python/object.hpp>
50 const FunctionSpace& what=FunctionSpace(),
65 const FunctionSpace& what=FunctionSpace(),
80 const FunctionSpace& what=FunctionSpace(),
95 const FunctionSpace& what=FunctionSpace(),
104 const FunctionSpace& what=FunctionSpace(),
105 bool expanded=
false);
113 const FunctionSpace& what=FunctionSpace(),
114 bool expanded=
false);
123 const FunctionSpace& what=FunctionSpace(),
124 bool expanded=
false);
128 const FunctionSpace& what=FunctionSpace(),
129 bool expanded=
false);
135 bool expanded=
false);
141 bool expanded=
false);
150 bool expanded=
false);
155 bool expanded=
false);
161 bool expanded=
false);
167 bool expanded=
false);
177 bool expanded=
false);
182 bool expanded=
false);
188 bool expanded=
false);
194 bool expanded=
false);
204 bool expanded=
false);
209 bool expanded=
false);
215 bool expanded=
false);
221 bool expanded=
false);
227 bool expanded=
false);
234 load(
const std::string fileName,
Base class for all escript domains.
Definition: AbstractDomain.h:51
Data represents a collection of datapoints.
Definition: Data.h:64
Definition: FunctionSpace.h:36
#define ESCRIPT_DLL_API
Definition: escriptcore/src/system_dep.h:30
std::complex< real_t > cplx_t
complex data type
Definition: DataTypes.h:55
Definition: AbstractContinuousDomain.cpp:23
Data load(const std::string fileName, const AbstractDomain &domain)
reads Data on domain from file in netCDF format
Definition: DataFactory.cpp:708
Data ComplexTensor3(double value, const FunctionSpace &what, bool expanded)
Definition: DataFactory.cpp:262
Data Tensor4(double value, const FunctionSpace &what, bool expanded)
Return a Data object containing tensor4 datapoints. ie: rank 4 data-points.
Definition: DataFactory.cpp:335
Data Tensor(double value, const FunctionSpace &what, bool expanded)
Return a Data object containing tensor datapoints. ie: rank 2 data-points.
Definition: DataFactory.cpp:176
Data ComplexTensor4(double value, const FunctionSpace &what, bool expanded)
Definition: DataFactory.cpp:341
Data Tensor4FromObj(bp::object o, const FunctionSpace &what, bool expanded)
Definition: DataFactory.cpp:363
Data ComplexScalar(double value, const FunctionSpace &what, bool expanded)
Return a Complex Data object containing scalar data-points. ie: rank 0 data-points.
Definition: DataFactory.cpp:63
Data ComplexScalarFromObj(boost::python::object o, const FunctionSpace &what, bool expanded)
Python interface for the Complex Scalar factory.
Definition: DataFactory.cpp:104
Data ComplexTensor4FromObj(bp::object o, const FunctionSpace &what, bool expanded)
Definition: DataFactory.cpp:388
Data ComplexData(boost::python::object o, const FunctionSpace &what, bool expanded)
Definition: DataFactory.cpp:414
Data Vector(double value, const FunctionSpace &what, bool expanded)
Return a Data object containing vector data-points. ie: rank 1 data-points.
Definition: DataFactory.cpp:125
Data TensorFromObj(bp::object o, const FunctionSpace &what, bool expanded)
Definition: DataFactory.cpp:205
Data ComplexTensor3FromObj(bp::object o, const FunctionSpace &what, bool expanded)
Definition: DataFactory.cpp:309
Data ScalarFromObj(boost::python::object o, const FunctionSpace &what, bool expanded)
Python interface for the Scalar factory.
Definition: DataFactory.cpp:82
Data ComplexVectorFromObj(bp::object o, const FunctionSpace &what, bool expanded)
Definition: DataFactory.cpp:157
Data Scalar(double value, const FunctionSpace &what, bool expanded)
A collection of factory functions for creating Data objects which contain data points of various shap...
Definition: DataFactory.cpp:49
Data ComplexTensor(double value, const FunctionSpace &what, bool expanded)
Definition: DataFactory.cpp:182
Data VectorFromObj(bp::object o, const FunctionSpace &what, bool expanded)
Definition: DataFactory.cpp:139
bool loadConfigured()
returns true if the load funtion is configured.
Definition: DataFactory.cpp:918
Data Tensor3FromObj(bp::object o, const FunctionSpace &what, bool expanded)
Definition: DataFactory.cpp:284
Data Tensor3(double value, const FunctionSpace &what, bool expanded)
Return a Data object containing tensor3 datapoints. ie: rank 3 data-points.
Definition: DataFactory.cpp:256
Data ComplexTensorFromObj(bp::object o, const FunctionSpace &what, bool expanded)
Definition: DataFactory.cpp:230
Data ComplexVector(double value, const FunctionSpace &what, bool expanded)
Definition: DataFactory.cpp:131
Data convertToData(const bp::object &value, const FunctionSpace &what)
Definition: DataFactory.cpp:927