/[escript]/trunk/escript/src/Data.cpp
ViewVC logotype

Diff of /trunk/escript/src/Data.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1878 by gross, Tue Oct 14 03:39:13 2008 UTC revision 1897 by jfenwick, Mon Oct 20 00:32:30 2008 UTC
# Line 22  Line 22 
22  #include "AbstractContinuousDomain.h"  #include "AbstractContinuousDomain.h"
23  #include "UnaryFuncs.h"  #include "UnaryFuncs.h"
24  #include "FunctionSpaceException.h"  #include "FunctionSpaceException.h"
25    #include "EscriptParams.h"
26    
27  extern "C" {  extern "C" {
28  #include "escript/blocktimer.h"  #include "escript/blocktimer.h"
# Line 2463  Data::borrowData() const Line 2464  Data::borrowData() const
2464  std::string  std::string
2465  Data::toString() const  Data::toString() const
2466  {  {
2467      static const DataTypes::ValueType::size_type TOO_MANY_POINTS=8000;      if (!m_data->isEmpty() &&
2468      if (getNumDataPoints()*getDataPointSize()>TOO_MANY_POINTS)      getNumDataPoints()*getDataPointSize()>escriptParams.getInt("TOO_MANY_LINES"))
2469      {      {
2470      stringstream temp;      stringstream temp;
2471      temp << "Summary: inf="<< inf() << " sup=" << sup() << " data points=" << getNumDataPoints();      temp << "Summary: inf="<< inf() << " sup=" << sup() << " data points=" << getNumDataPoints();

Legend:
Removed from v.1878  
changed lines
  Added in v.1897

  ViewVC Help
Powered by ViewVC 1.1.26