Commit fe4dff71 authored by T.J. Corona's avatar T.J. Corona

InterpolateMesh: rename and update doc

parent 1d221578
......@@ -41,7 +41,7 @@ set(meshSrcs
operators/DeleteMesh.cxx
operators/ExportMesh.cxx
operators/GenerateHotStartData.cxx
operators/InterpolateMesh.cxx
operators/InterpolateOntoMesh.cxx
operators/UndoWarpMesh.cxx
operators/WarpMesh.cxx
operators/WriteMesh.cxx
......@@ -86,7 +86,7 @@ set(meshHeaders
operators/DeleteMesh.h
operators/ExportMesh.h
operators/GenerateHotStartData.h
operators/InterpolateMesh.h
operators/InterpolateOntoMesh.h
operators/UndoWarpMesh.h
operators/WarpMesh.h
operators/WriteMesh.h
......@@ -95,7 +95,7 @@ set(meshHeaders
smtk_operator_xml("${CMAKE_CURRENT_SOURCE_DIR}/operators/DeleteMesh.sbt" defOpXML)
smtk_operator_xml("${CMAKE_CURRENT_SOURCE_DIR}/operators/ExportMesh.sbt" defOpXML)
smtk_operator_xml("${CMAKE_CURRENT_SOURCE_DIR}/operators/GenerateHotStartData.sbt" defOpXML)
smtk_operator_xml("${CMAKE_CURRENT_SOURCE_DIR}/operators/InterpolateMesh.sbt" defOpXML)
smtk_operator_xml("${CMAKE_CURRENT_SOURCE_DIR}/operators/InterpolateOntoMesh.sbt" defOpXML)
smtk_operator_xml("${CMAKE_CURRENT_SOURCE_DIR}/operators/UndoWarpMesh.sbt" defOpXML)
smtk_operator_xml("${CMAKE_CURRENT_SOURCE_DIR}/operators/WarpMesh.sbt" defOpXML)
smtk_operator_xml("${CMAKE_CURRENT_SOURCE_DIR}/operators/WriteMesh.sbt" defOpXML)
......
......@@ -19,8 +19,8 @@ namespace mesh
/**\brief A class for generating hot start data for AdH.
This class performs the same actions as InterpolateMesh, with the following
differences:
This class performs the same actions as InterpolateOntoMesh, with the
following differences:
1) the API is tweaked to apply directly to AdH's use case
2) only point data can be generated
3) when computing initial water surface elevation, the z-coordinate of each
......
......@@ -8,7 +8,7 @@
// PURPOSE. See the above copyright notice for more information.
//=========================================================================
#include "smtk/mesh/operators/InterpolateMesh.h"
#include "smtk/mesh/operators/InterpolateOntoMesh.h"
#include "smtk/attribute/Attribute.h"
#include "smtk/attribute/DoubleItem.h"
......@@ -104,7 +104,7 @@ namespace smtk
namespace mesh
{
bool InterpolateMesh::ableToOperate()
bool InterpolateOntoMesh::ableToOperate()
{
if (!this->ensureSpecification())
{
......@@ -120,7 +120,7 @@ bool InterpolateMesh::ableToOperate()
return true;
}
smtk::model::OperatorResult InterpolateMesh::operateInternal()
smtk::model::OperatorResult InterpolateOntoMesh::operateInternal()
{
// Access the mesh to elevate
smtk::attribute::MeshItem::Ptr meshItem = this->specification()->findMesh("mesh");
......@@ -211,7 +211,7 @@ smtk::model::OperatorResult InterpolateMesh::operateInternal()
}
}
#include "smtk/mesh/InterpolateMesh_xml.h"
#include "smtk/mesh/InterpolateOntoMesh_xml.h"
smtkImplementsModelOperator(SMTKCORE_EXPORT, smtk::mesh::InterpolateMesh, interpolate_mesh,
"interpolate mesh", InterpolateMesh_xml, smtk::model::Session);
smtkImplementsModelOperator(SMTKCORE_EXPORT, smtk::mesh::InterpolateOntoMesh, interpolate_onto_mesh,
"interpolate onto mesh", InterpolateOntoMesh_xml, smtk::model::Session);
......@@ -7,8 +7,8 @@
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the above copyright notice for more information.
//=========================================================================
#ifndef __smtk_mesh_operators_InterpolateMesh_h
#define __smtk_mesh_operators_InterpolateMesh_h
#ifndef __smtk_mesh_operators_InterpolateOntoMesh_h
#define __smtk_mesh_operators_InterpolateOntoMesh_h
#include "smtk/model/Operator.h"
......@@ -19,11 +19,11 @@ namespace mesh
/**\brief A class for generating a mesh data set from interpolation points.
*/
class SMTKCORE_EXPORT InterpolateMesh : public smtk::model::Operator
class SMTKCORE_EXPORT InterpolateOntoMesh : public smtk::model::Operator
{
public:
smtkTypeMacro(InterpolateMesh);
smtkCreateMacro(InterpolateMesh);
smtkTypeMacro(InterpolateOntoMesh);
smtkCreateMacro(InterpolateOntoMesh);
smtkSharedFromThisMacro(Operator);
smtkDeclareModelOperator();
......@@ -35,4 +35,4 @@ protected:
}
}
#endif // __smtk_mesh_operators_InterpolateMesh_h
#endif // __smtk_mesh_operators_InterpolateOntoMesh_h
<?xml version="1.0" encoding="utf-8" ?>
<!-- Description of the "interpolate mesh" Operator -->
<!-- Description of the "interpolate onto mesh" Operator -->
<SMTK_AttributeSystem Version="2">
<Definitions>
<!-- Operator -->
<AttDef Type="interpolate mesh"
Label="Mesh - Interpolate" BaseType="operator">
<AttDef Type="interpolate onto mesh"
Label="Mesh - Interpolate data onto mesh" BaseType="operator">
<BriefDescription>
Create a field on mesh nodes/elements from
interpolated 2-dimensional data.
Create a field on mesh nodes/elements from interpolated 3-dimensional data.
</BriefDescription>
<DetailedDescription>
&lt;p&gt;Create a field on mesh nodes/elements from
interpolated 2-dimensional data.
&lt;p&gt;This operator accepts as input two-dimensional points
with associated scalar values, and interpolates these values
onto either the points or the cells of the mesh. The input
points can be inserted manually or read from a CSV file.
&lt;p&gt;Create a field on mesh nodes/elements from interpolated 3-dimensional data.
&lt;p&gt;This operator accepts as input three-dimensional points
with associated scalar values; it interpolates these values
onto either the points or the cells of the mesh using
Shepard's method for interpolation. The input points can be
inserted manually or read from a CSV file.
</DetailedDescription>
<ItemDefinitions>
<MeshEntity Name="mesh" Label="Mesh" NumberOfRequiredValues="1" Extensible="true" >
<BriefDescription>The mesh to elevate.</BriefDescription>
<BriefDescription>The mesh onto which the data is interpolated.</BriefDescription>
</MeshEntity>
<String Name="dsname" Label="Field Name" NumberOfRequiredValues="1">
<BriefDescription>The name of the data set.</BriefDescription>
<BriefDescription>The name of the generated data set.</BriefDescription>
</String>
<Int Name="interpmode" Label="Output Field Type" NumberOfRequiredValues="1" Extensible="false">
<BriefDescription>Interpolate the data as cell-centered or point-centered on the mesh.</BriefDescription>
<DiscreteInfo DefaultIndex="0">
<Value Enum="Cell Fields">0</Value>
<Value Enum="Point Fields">1</Value>
......@@ -35,6 +35,7 @@
<File Name="ptsfile" Label="Input CSV File" NumberOfValues="1"
ShouldExist="true" Optional="true" FileFilters="CSV file (*.csv)">
<BriefDescription>Input file containing rows of 4 comma separated values: x, y, z, value.</BriefDescription>
</File>
<Group Name="points" Label="Interpolation Points"
......@@ -71,7 +72,7 @@
</ItemDefinitions>
</AttDef>
<!-- Result -->
<AttDef Type="result(interpolate mesh)" BaseType="result">
<AttDef Type="result(interpolate onto mesh)" BaseType="result">
<ItemDefinitions>
<MeshEntity Name="mesh_modified" NumberOfRequiredValues="0" Extensible="true" AdvanceLevel="11"/>
<ModelEntity Name="tess_changed" NumberOfRequiredValues="0"
......
......@@ -8,34 +8,33 @@
// PURPOSE. See the above copyright notice for more information.
//=========================================================================
#ifndef pybind_smtk_mesh_operators_InterpolateMesh_h
#define pybind_smtk_mesh_operators_InterpolateMesh_h
#ifndef pybind_smtk_mesh_operators_InterpolateOntoMesh_h
#define pybind_smtk_mesh_operators_InterpolateOntoMesh_h
#include <pybind11/pybind11.h>
#include "smtk/mesh/operators/InterpolateMesh.h"
#include "smtk/mesh/operators/InterpolateOntoMesh.h"
#include "smtk/model/Operator.h"
namespace py = pybind11;
PySharedPtrClass< smtk::mesh::InterpolateMesh, smtk::model::Operator > pybind11_init_smtk_mesh_InterpolateMesh(py::module &m)
PySharedPtrClass< smtk::mesh::InterpolateOntoMesh, smtk::model::Operator > pybind11_init_smtk_mesh_InterpolateOntoMesh(py::module &m)
{
PySharedPtrClass< smtk::mesh::InterpolateMesh, smtk::model::Operator > instance(m, "InterpolateMesh");
PySharedPtrClass< smtk::mesh::InterpolateOntoMesh, smtk::model::Operator > instance(m, "InterpolateOntoMesh");
instance
.def(py::init<>())
.def(py::init<::smtk::mesh::InterpolateMesh const &>())
.def("deepcopy", (smtk::mesh::InterpolateMesh & (smtk::mesh::InterpolateMesh::*)(::smtk::mesh::InterpolateMesh const &)) &smtk::mesh::InterpolateMesh::operator=)
.def("ableToOperate", &smtk::mesh::InterpolateMesh::ableToOperate)
.def_static("baseCreate", &smtk::mesh::InterpolateMesh::baseCreate)
.def("className", &smtk::mesh::InterpolateMesh::className)
.def("classname", &smtk::mesh::InterpolateMesh::classname)
.def_static("create", (std::shared_ptr<smtk::mesh::InterpolateMesh> (*)()) &smtk::mesh::InterpolateMesh::create)
.def_static("create", (std::shared_ptr<smtk::mesh::InterpolateMesh> (*)(::std::shared_ptr<smtk::mesh::InterpolateMesh> &)) &smtk::mesh::InterpolateMesh::create, py::arg("ref"))
.def("name", &smtk::mesh::InterpolateMesh::name)
.def("shared_from_this", (std::shared_ptr<const smtk::mesh::InterpolateMesh> (smtk::mesh::InterpolateMesh::*)() const) &smtk::mesh::InterpolateMesh::shared_from_this)
.def("shared_from_this", (std::shared_ptr<smtk::mesh::InterpolateMesh> (smtk::mesh::InterpolateMesh::*)()) &smtk::mesh::InterpolateMesh::shared_from_this)
.def_readwrite_static("operatorName", &smtk::mesh::InterpolateMesh::operatorName)
.def(py::init<::smtk::mesh::InterpolateOntoMesh const &>())
.def("deepcopy", (smtk::mesh::InterpolateOntoMesh & (smtk::mesh::InterpolateOntoMesh::*)(::smtk::mesh::InterpolateOntoMesh const &)) &smtk::mesh::InterpolateOntoMesh::operator=)
.def("ableToOperate", &smtk::mesh::InterpolateOntoMesh::ableToOperate)
.def("className", &smtk::mesh::InterpolateOntoMesh::className)
.def("classname", &smtk::mesh::InterpolateOntoMesh::classname)
.def_static("create", (std::shared_ptr<smtk::mesh::InterpolateOntoMesh> (*)()) &smtk::mesh::InterpolateOntoMesh::create)
.def_static("create", (std::shared_ptr<smtk::mesh::InterpolateOntoMesh> (*)(::std::shared_ptr<smtk::mesh::InterpolateOntoMesh> &)) &smtk::mesh::InterpolateOntoMesh::create, py::arg("ref"))
.def("name", &smtk::mesh::InterpolateOntoMesh::name)
.def("shared_from_this", (std::shared_ptr<const smtk::mesh::InterpolateOntoMesh> (smtk::mesh::InterpolateOntoMesh::*)() const) &smtk::mesh::InterpolateOntoMesh::shared_from_this)
.def("shared_from_this", (std::shared_ptr<smtk::mesh::InterpolateOntoMesh> (smtk::mesh::InterpolateOntoMesh::*)()) &smtk::mesh::InterpolateOntoMesh::shared_from_this)
.def_readwrite_static("operatorName", &smtk::mesh::InterpolateOntoMesh::operatorName)
;
return instance;
}
......
......@@ -46,7 +46,7 @@ using PySharedPtrClass = py::class_<T, std::shared_ptr<T>, Args...>;
#include "PybindDeleteMesh.h"
#include "PybindExportMesh.h"
#include "PybindInterpolateMesh.h"
#include "PybindInterpolateOntoMesh.h"
#include "PybindWriteMesh.h"
#include "smtk/model/Operator.h"
......@@ -142,6 +142,6 @@ PYBIND11_MODULE(_smtkPybindMesh, mesh)
PySharedPtrClass< smtk::mesh::DeleteMesh, smtk::model::Operator > smtk_mesh_DeleteMesh = pybind11_init_smtk_mesh_DeleteMesh(mesh);
PySharedPtrClass< smtk::mesh::ExportMesh, smtk::model::Operator > smtk_mesh_ExportMesh = pybind11_init_smtk_mesh_ExportMesh(mesh);
PySharedPtrClass< smtk::mesh::InterpolateMesh, smtk::model::Operator > smtk_mesh_InterpolateMesh = pybind11_init_smtk_mesh_InterpolateMesh(mesh);
PySharedPtrClass< smtk::mesh::InterpolateOntoMesh, smtk::model::Operator > smtk_mesh_InterpolateOntoMesh = pybind11_init_smtk_mesh_InterpolateOntoMesh(mesh);
PySharedPtrClass< smtk::mesh::WriteMesh, smtk::model::Operator > smtk_mesh_WriteMesh = pybind11_init_smtk_mesh_WriteMesh(mesh);
}
......@@ -67,47 +67,47 @@ smtk_unit_tests(
LIBRARIES smtkCore smtkCoreModelTesting ${extra_libs} ${Boost_LIBRARIES}
)
add_executable(UnitTestGenerateHotStartData UnitTestGenerateHotStartData.cxx)
target_compile_definitions(UnitTestGenerateHotStartData PRIVATE "SMTK_SCRATCH_DIR=\"${CMAKE_BINARY_DIR}/Testing/Temporary\"")
target_link_libraries(UnitTestGenerateHotStartData smtkCore ${Boost_LIBRARIES})
add_executable(TestGenerateHotStartData TestGenerateHotStartData.cxx)
target_compile_definitions(TestGenerateHotStartData PRIVATE "SMTK_SCRATCH_DIR=\"${CMAKE_BINARY_DIR}/Testing/Temporary\"")
target_link_libraries(TestGenerateHotStartData smtkCore ${Boost_LIBRARIES})
add_executable(UnitTestInterpolateMesh UnitTestInterpolateMesh.cxx)
target_compile_definitions(UnitTestInterpolateMesh PRIVATE "SMTK_SCRATCH_DIR=\"${CMAKE_BINARY_DIR}/Testing/Temporary\"")
target_link_libraries(UnitTestInterpolateMesh smtkCore ${Boost_LIBRARIES})
add_executable(TestInterpolateOntoMesh TestInterpolateOntoMesh.cxx)
target_compile_definitions(TestInterpolateOntoMesh PRIVATE "SMTK_SCRATCH_DIR=\"${CMAKE_BINARY_DIR}/Testing/Temporary\"")
target_link_libraries(TestInterpolateOntoMesh smtkCore ${Boost_LIBRARIES})
add_executable(UnitTestWarpMesh UnitTestWarpMesh.cxx)
target_compile_definitions(UnitTestWarpMesh PRIVATE "SMTK_SCRATCH_DIR=\"${CMAKE_BINARY_DIR}/Testing/Temporary\"")
target_link_libraries(UnitTestWarpMesh smtkCore ${Boost_LIBRARIES})
add_executable(TestWarpMesh TestWarpMesh.cxx)
target_compile_definitions(TestWarpMesh PRIVATE "SMTK_SCRATCH_DIR=\"${CMAKE_BINARY_DIR}/Testing/Temporary\"")
target_link_libraries(TestWarpMesh smtkCore ${Boost_LIBRARIES})
if (SMTK_DATA_DIR AND EXISTS ${SMTK_DATA_DIR}/cmb-testing-data.marker)
add_test(NAME UnitTestGenerateHotStartData
COMMAND $<TARGET_FILE:UnitTestGenerateHotStartData>
add_test(NAME TestGenerateHotStartData
COMMAND $<TARGET_FILE:TestGenerateHotStartData>
"${SMTK_DATA_DIR}/model/2d/smtk/test2D.json")
set_tests_properties(UnitTestGenerateHotStartData PROPERTIES LABELS "Mesh")
add_test(NAME UnitTestGenerateHotStartDataCSV
COMMAND $<TARGET_FILE:UnitTestGenerateHotStartData>
set_tests_properties(TestGenerateHotStartData PROPERTIES LABELS "Mesh")
add_test(NAME TestGenerateHotStartDataCSV
COMMAND $<TARGET_FILE:TestGenerateHotStartData>
"${SMTK_DATA_DIR}/model/2d/smtk/test2D.json" 1)
set_tests_properties(UnitTestGenerateHotStartDataCSV PROPERTIES LABELS "Mesh")
add_test(NAME UnitTestInterpolateMeshToCells
COMMAND $<TARGET_FILE:UnitTestInterpolateMesh>
set_tests_properties(TestGenerateHotStartDataCSV PROPERTIES LABELS "Mesh")
add_test(NAME TestInterpolateOntoMeshCells
COMMAND $<TARGET_FILE:TestInterpolateOntoMesh>
"${SMTK_DATA_DIR}/model/2d/smtk/test2D.json")
set_tests_properties(UnitTestInterpolateMeshToCells PROPERTIES LABELS "Mesh")
add_test(NAME UnitTestInterpolateMeshToPoints
COMMAND $<TARGET_FILE:UnitTestInterpolateMesh>
set_tests_properties(TestInterpolateOntoMeshCells PROPERTIES LABELS "Mesh")
add_test(NAME TestInterpolateOntoMeshPoints
COMMAND $<TARGET_FILE:TestInterpolateOntoMesh>
"${SMTK_DATA_DIR}/model/2d/smtk/test2D.json" 0)
set_tests_properties(UnitTestInterpolateMeshToPoints PROPERTIES LABELS "Mesh")
add_test(NAME UnitTestInterpolateMeshToCellsCSV
COMMAND $<TARGET_FILE:UnitTestInterpolateMesh>
set_tests_properties(TestInterpolateOntoMeshPoints PROPERTIES LABELS "Mesh")
add_test(NAME TestInterpolateOntoMeshCellsCSV
COMMAND $<TARGET_FILE:TestInterpolateOntoMesh>
"${SMTK_DATA_DIR}/model/2d/smtk/test2D.json" 0 1)
set_tests_properties(UnitTestInterpolateMeshToCellsCSV PROPERTIES LABELS "Mesh")
add_test(NAME UnitTestInterpolateMeshToPointsCSV
COMMAND $<TARGET_FILE:UnitTestInterpolateMesh>
set_tests_properties(TestInterpolateOntoMeshCellsCSV PROPERTIES LABELS "Mesh")
add_test(NAME TestInterpolateOntoMeshPointsCSV
COMMAND $<TARGET_FILE:TestInterpolateOntoMesh>
"${SMTK_DATA_DIR}/model/2d/smtk/test2D.json" 1 1)
set_tests_properties(UnitTestInterpolateMeshToPointsCSV PROPERTIES LABELS "Mesh")
add_test(NAME UnitTestWarpMesh
COMMAND $<TARGET_FILE:UnitTestWarpMesh>
set_tests_properties(TestInterpolateOntoMeshPointsCSV PROPERTIES LABELS "Mesh")
add_test(NAME TestWarpMesh
COMMAND $<TARGET_FILE:TestWarpMesh>
"${SMTK_DATA_DIR}/model/2d/smtk/test2D.json" 0)
add_test(NAME UnitTestWarpMeshCSV
COMMAND $<TARGET_FILE:UnitTestWarpMesh>
add_test(NAME TestWarpMeshCSV
COMMAND $<TARGET_FILE:TestWarpMesh>
"${SMTK_DATA_DIR}/model/2d/smtk/test2D.json" 1)
endif()
......@@ -261,7 +261,7 @@ int main(int argc, char* argv[])
}
}
// Execute "Interpolate Mesh" operator...
// Execute "generate hot start data" operator...
smtk::model::OperatorResult generateHotStartDataOpResult = generateHotStartDataOp->operate();
// ...delete the generated points file...
......@@ -273,7 +273,7 @@ int main(int argc, char* argv[])
// ...and test the results for success.
if (generateHotStartDataOpResult->findInt("outcome")->value() != smtk::model::OPERATION_SUCCEEDED)
{
std::cerr << "\"interpolate mesh\" operator failed\n";
std::cerr << "\"generate hot start data\" operator failed\n";
return 1;
}
......
......@@ -188,16 +188,17 @@ int main(int argc, char* argv[])
smtk::io::ModelToMesh convert;
smtk::mesh::CollectionPtr c = convert(meshManager, manager);
// Create an "Interpolate Mesh" operator
smtk::model::OperatorPtr interpolateMeshOp = sessRef.session()->op("interpolate mesh");
if (!interpolateMeshOp)
// Create an "Interpolate Onto Mesh" operator
smtk::model::OperatorPtr interpolateOntoMeshOp = sessRef.session()->op("interpolate onto mesh");
if (!interpolateOntoMeshOp)
{
std::cerr << "No \"interpolate mesh\" operator\n";
std::cerr << "No \"interpolate onto mesh\" operator\n";
return 1;
}
// Set the operator's data set name
bool valueSet = interpolateMeshOp->specification()->findString("dsname")->setValue("my field");
bool valueSet =
interpolateOntoMeshOp->specification()->findString("dsname")->setValue("my field");
if (!valueSet)
{
......@@ -207,7 +208,7 @@ int main(int argc, char* argv[])
// Set the operator's input mesh
smtk::mesh::MeshSet mesh = meshManager->collectionBegin()->second->meshes();
valueSet = interpolateMeshOp->specification()->findMesh("mesh")->setValue(mesh);
valueSet = interpolateOntoMeshOp->specification()->findMesh("mesh")->setValue(mesh);
if (!valueSet)
{
......@@ -216,7 +217,8 @@ int main(int argc, char* argv[])
}
// Set the operator's input power
smtk::attribute::DoubleItemPtr power = interpolateMeshOp->specification()->findDouble("power");
smtk::attribute::DoubleItemPtr power =
interpolateOntoMeshOp->specification()->findDouble("power");
if (!power)
{
......@@ -233,7 +235,7 @@ int main(int argc, char* argv[])
}
smtk::attribute::IntItemPtr interpMode =
interpolateMeshOp->specification()->findInt("interpmode");
interpolateOntoMeshOp->specification()->findInt("interpmode");
if (!interpMode)
{
......@@ -266,7 +268,8 @@ int main(int argc, char* argv[])
}
outfile.close();
smtk::attribute::FileItemPtr ptsFile = interpolateMeshOp->specification()->findFile("ptsfile");
smtk::attribute::FileItemPtr ptsFile =
interpolateOntoMeshOp->specification()->findFile("ptsfile");
if (!ptsFile)
{
std::cerr << "No \"ptsfile\" item in specification\n";
......@@ -280,7 +283,8 @@ int main(int argc, char* argv[])
else
{
// Set the operator's input points
smtk::attribute::GroupItemPtr points = interpolateMeshOp->specification()->findGroup("points");
smtk::attribute::GroupItemPtr points =
interpolateOntoMeshOp->specification()->findGroup("points");
if (!points)
{
......@@ -299,8 +303,8 @@ int main(int argc, char* argv[])
}
}
// Execute "Interpolate Mesh" operator...
smtk::model::OperatorResult interpolateMeshOpResult = interpolateMeshOp->operate();
// Execute "Interpolate Onto Mesh" operator...
smtk::model::OperatorResult interpolateOntoMeshOpResult = interpolateOntoMeshOp->operate();
// ...delete the generated points file...
if (fromCSV)
......@@ -311,7 +315,7 @@ int main(int argc, char* argv[])
// ...and test the results for success.
if (interpolateMeshOpResult->findInt("outcome")->value() != smtk::model::OPERATION_SUCCEEDED)
{
std::cerr << "\"interpolate mesh\" operator failed\n";
std::cerr << "\"interpolate onto mesh\" operator failed\n";
return 1;
}
......@@ -344,7 +348,7 @@ int main(int argc, char* argv[])
{
if (bin != expected[counter++])
{
std::cerr << "\"interpolate mesh\" operator produced unexpected results\n";
std::cerr << "\"interpolate onto mesh\" operator produced unexpected results\n";
return 1;
}
}
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment