18 #if !defined escript_DataReady_20081008_H
19 #define escript_DataReady_20081008_H
Give a short description of what FunctionSpace does.
Definition: FunctionSpace.h:46
DataVector implements an arbitrarily long vector of data values. DataVector is the underlying data co...
Definition: DataVector.h:44
DataTypes::ShapeType ShapeType
Definition: DataAbstract.h:67
Definition: DataReady.h:35
std::vector< std::pair< int, int > > RegionType
Definition: DataTypes.h:39
DataTypes::ValueType::reference getDataAtOffsetRW(DataTypes::ValueType::size_type i)
Definition: DataReady.h:134
double * getSampleDataRW(ValueType::size_type sampleNo)
Return the sample data for the given sample number.
Definition: DataReady.h:113
virtual DataTypes::ValueType & getVectorRW()=0
Provide access to underlying storage. Internal use only!
virtual void setSlice(const DataAbstract *value, const DataTypes::RegionType ®ion)=0
Copy the specified region from the given object.
virtual bool hasNaN() const =0
return true if data contains NaN.
DataReady(const FunctionSpace &what, const ShapeType &shape, bool isDataEmpty=false)
Definition: DataReady.cpp:22
const ElementType & const_reference
Definition: DataVector.h:62
const double * getSampleDataRO(ValueType::size_type sampleNo) const
Definition: DataReady.h:119
DataTypes::ValueType::const_reference getDataAtOffsetRO(DataTypes::ValueType::size_type i) const
get a reference to the beginning of a data point
Definition: DataReady.h:127
virtual const DataTypes::ValueType & getVectorRO() const =0
~DataReady()
Definition: DataReady.h:40
#define ESCRIPT_DLL_API
Definition: escriptcore/src/system_dep.h:64
ElementType & reference
Definition: DataVector.h:61
DataReady_ptr resolve()
Return a data object with all points resolved.
Definition: DataReady.cpp:29
ElementType value_type
Definition: DataVector.h:59
Definition: DataAbstract.h:61
boost::shared_ptr< DataReady > DataReady_ptr
Definition: DataAbstract.h:56
long size_type
Definition: DataVector.h:60
virtual ValueType::size_type getPointOffset(int sampleNo, int dataPointNo) const =0
Return the offset for the given sample. This returns the offset for the given point into the containe...
DataAbstract parent
Definition: DataReady.h:37