/[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 2086 by jfenwick, Mon Nov 24 02:38:50 2008 UTC revision 2087 by jfenwick, Mon Nov 24 04:51:30 2008 UTC
# Line 131  Data::Data(const Data& inData, Line 131  Data::Data(const Data& inData,
131      if (inData.isConstant()) {  // for a constant function, we just need to use the new function space      if (inData.isConstant()) {  // for a constant function, we just need to use the new function space
132        if (!inData.probeInterpolation(functionspace))        if (!inData.probeInterpolation(functionspace))
133        {           // Even though this is constant, we still need to check whether interpolation is allowed        {           // Even though this is constant, we still need to check whether interpolation is allowed
134      throw FunctionSpaceException("Call to probeInterpolation returned false for DataConstant.");      throw FunctionSpaceException("Cannot interpolate across to the domain of the specified FunctionSpace. (DataConstant)");
135        }        }
136        // if the data is not lazy, this will just be a cast to DataReady        // if the data is not lazy, this will just be a cast to DataReady
137        DataReady_ptr dr=inData.m_data->resolve();        DataReady_ptr dr=inData.m_data->resolve();

Legend:
Removed from v.2086  
changed lines
  Added in v.2087

  ViewVC Help
Powered by ViewVC 1.1.26