void setTime ( double time, int iter );
+ std::vector< double > getFieldValues(int compo=0) const ;
+
Vector getValuesOnComponent(int compo) const ;
Vector getValuesOnAllComponents(int elem) const ;
return v;
}
+std::vector< double >
+Field::getFieldValues(int compo) const
+{
+ std::vector< double > v(getNumberOfElements());
+ for(int i=0;i<getNumberOfElements();i++)
+ v[i]=(*this)(i,compo);
+ return v;
+}
+
std::ostream& operator<<(std::ostream& out, const Field& field )
{
cout << "Field " << field.getName() << " : " << endl ;