Commit f590ca78 authored by Yuanxin Liu's avatar Yuanxin Liu
Browse files

fix build error and warnings for interpolated velocity field

Change-Id: Iaf96de1450822fb87b4d9856459cb03eae235dbd
parent 18da6f1a
......@@ -14,6 +14,7 @@ set(Module_SRCS
set_source_files_properties(
vtkAbstractInterpolatedVelocityField
vtkCompositeInterpolatedVelocityField.cxx
vtkStreamer
ABSTRACT
)
......
......@@ -57,15 +57,15 @@ int TestAMRInterpolatedVelocityField(int, char*[])
double v[3];
bool res;
res = func->FunctionValues(Points[0],v);
res = func->FunctionValues(Points[0],v)!=0;
RETURNONFALSE(!res);
res = func->FunctionValues(Points[1],v);
res = func->FunctionValues(Points[1],v)!=0;
RETURNONFALSE(res);
RETURNONFALSE(func->GetLastAMRBox().GetLevel()==1)
res = func->FunctionValues(Points[2],v);
res = func->FunctionValues(Points[2],v)!=0;
RETURNONFALSE(res);
RETURNONFALSE(func->GetLastAMRBox().GetLevel()==0)
res = func->FunctionValues(Points[3],v);
res = func->FunctionValues(Points[3],v)!=0;
RETURNONFALSE(res);
RETURNONFALSE(func->GetLastAMRBox().GetLevel()==1)
......
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