[CIG-SHORT] Paraview Calculator errors
Brad Aagaard
baagaard at usgs.gov
Wed Apr 27 12:01:21 PDT 2016
The slip field is in a different file than the direction fields. As a
result you need to load both data files, select them, and use the
AppendAttributes filter to combine the datasets. If you do that your
formula should work (it worked for me in ParaView 4.3.1).
Regards,
Brad
On 04/27/2016 09:39 AM, Chunyu Liu (cliu5) wrote:
> Hi all,
> When I try to change slip vector from fault coordinate system to global
> coordinate system, I follow this formula:
>
> (slip_X*strike_dir_X+slip_Y*dip_dir_X)*iHat+(slip_X*strike_dir_Y+slip_Y*dip_dir_Y)*jHat+(slip_X*strike_dir_Z+slip_Y*dip_dir_Z)*kHat
>
> However, I am always getting some errors like this :
>
> ERROR: In
> /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Common/Misc/vtkFunctionParser.cxx,
> line 1360
> vtkFunctionParser (0x7fd968373fb0): Syntax error: expecting a variable
> name; see position 1
>
>
> Warning: In
> /Users/kitware/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release-Python27/paraview/src/paraview/VTK/Filters/Core/vtkArrayCalculator.cxx,
> line 405
> vtkPVArrayCalculator (0x7fd96859cc30): An error occurred when parsing
> the calculator's function. See previous errors.
>
>
>
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>
More information about the CIG-SHORT
mailing list