24 #ifndef __evVectorField_h 25 #define __evVectorField_h 41 const unsigned int vector_dimension = 0,
42 const bool allocate = 1);
44 const unsigned int vector_dimension = 0,
45 const bool linear = 0);
63 void Scale(
const double scale);
78 const unsigned int vector_dimension)
80 this->
SetSize(size, vector_dimension);
86 if (this->
Field.empty())
89 return(this->
Field[0].Dimension());
95 for (
unsigned int index = 0; index < this->
Field.size(); index++)
96 this->
Field[index] *= scale;
int SetSize(const evAddress &size, const unsigned int vector_dimension=0, const bool allocate=1)
evVectorField(void)
Definition: evVectorField.h:72
int PutField(const evScalarField &field, const unsigned int component)
unsigned int GetVectorDimension(void) const
Definition: evVectorField.h:84
double GetFieldMin(void) const
Definition: evVector.h:36
void Scale(const double scale)
Definition: evVectorField.h:93
Definition: evAddress.h:37
double GetFieldMaxNorm(void) const
double GetFieldMax(void) const
evVector GetFieldMean(void) const
std::vector< evVector > Field
Definition: evField.h:125
Definition: evVectorField.h:32
int Copy(const evVectorField &field)
virtual ~evVectorField(void)
Definition: evVectorField.h:37
int Resize(const evAddress &size, const unsigned int vector_dimension=0, const bool linear=0)
int GetField(evScalarField &field, const unsigned int component) const
double GetFieldMinNorm(void) const
Definition: evScalarField.h:31
int GetFieldHighestBitplane(void) const