Jeremy Meredith
d807c1d865
map cell is now map topology -- the type of map depends on the passed-in topology.
2015-02-10 15:01:27 -05:00
Jeremy Meredith
6d7e2012ab
encapsulating field for data set.
2015-02-10 12:36:10 -05:00
Jeremy Meredith
adf0dfd53e
moving cell type into new file.
2015-02-09 17:04:09 -05:00
Jeremy Meredith
f4975e7629
making all map cell related parameters use max cell size in control signature topology template arg.
2015-02-09 16:43:31 -05:00
Jeremy Meredith
5a40bb2657
fit margins.
2015-02-09 15:06:25 -05:00
Jeremy Meredith
27ef6f262f
making node value input tuplelen be first argument so that there's no default value.
2015-02-09 15:02:16 -05:00
Jeremy Meredith
fb8639f1eb
allow arbitrary length vecs for node value sets.
2015-02-09 14:28:57 -05:00
Jeremy Meredith
c741d3cccf
allowing variable number of values to return for ID set.
2015-02-09 13:42:01 -05:00
Jeremy Meredith
c34d64e56c
force constructors to array handles to work around stl vector allocator weirdness.
2015-02-05 15:38:49 -05:00
Jeremy Meredith
2caf35602b
fixing bug with node values in map cell.
2015-02-05 14:08:37 -05:00
Jeremy Meredith
475c4bb5ee
renaming some node references to topology and removing unused files.
2015-02-05 13:45:08 -05:00
Jeremy Meredith
c3ff52353c
adding ability to get nodal fields in cell map
2015-02-05 13:41:23 -05:00
Jeremy Meredith
20d9c60398
add direct fetch tag for topology which returns cell type.
2015-02-05 13:30:01 -05:00
Jeremy Meredith
be8e8e0aac
adding regular connectivity example
2015-02-05 10:04:39 -05:00
Jeremy Meredith
67557a51bc
making connectivity fully general (mixed element meshes) and more ways of getting at it in worklets.
2015-02-04 17:40:31 -05:00
Jeremy Meredith
6bd04efef2
changing mapcell input domain from input cell array to topology GetNumberOfCells.
2015-02-04 15:51:13 -05:00
Jeremy Meredith
2f83e08b7d
changing exec output for topology to be Id3.
2015-02-04 15:48:15 -05:00
Jeremy Meredith
6214fa6629
adding execution output value type for node id set.
2015-02-04 15:24:50 -05:00
Jeremy Meredith
da73c67f4a
first steps in getting real topology to worklet map cell.
2015-02-04 15:02:59 -05:00
Jeremy Meredith
61852bbb20
back to vtkm::Id as connectivity element type in prep for proper implementation.
2015-02-04 12:41:02 -05:00
Jeremy Meredith
455ef255da
forcing connectivity to triangle-only (Id3) to get simple WorkletMapCell.
2015-02-04 11:47:15 -05:00
Jeremy Meredith
5a0a658d7d
adding worklet map cell framework (so far, identical to field version).
2015-02-04 11:00:15 -05:00
Dave Pugmire
e3970b09f1
Add a simple worklet that creates a cell-type variable.
2015-02-03 12:02:48 -05:00
Dave Pugmire
d6ccc97304
Add initial data set for unstructured mesh.
2015-02-02 16:44:24 -05:00
Dave Pugmire
1b24b1015f
add dataset test file.
2015-01-28 11:50:06 -05:00
Dave Pugmire
09ec291feb
fill in the dataset with some values.
2015-01-28 11:46:07 -05:00
Dave Pugmire
01dce61672
data model tweaks.
...
fix a bad commit.
2015-01-28 11:27:15 -05:00
Dave Pugmire
cf006085b4
Merge branch 'datamodel-design' of public.kitware.com:vtkm into datamodel-design
...
Conflicts:
CMakeLists.txt
2015-01-27 17:02:03 -05:00
Dave Pugmire
8dc09f271d
Add initial dataset files.
2015-01-27 16:22:21 -05:00
Dave Pugmire
f0c9879296
Testing file for data set
2015-01-27 16:09:32 -05:00
dpugmire
7ff3c82858
Add some initial DataSet
2015-01-27 16:01:11 -05:00
Robert Maynard
46df484ca7
Redesign the way we implement when to choose texture portals.
...
The logic to select texture portals is easier to understand now.
2015-01-20 13:58:28 -05:00
Robert Maynard
89f8f07806
Properly specify the iterator type for ArrayHandleCounting.
2015-01-20 13:58:28 -05:00
Robert Maynard
e26040282b
Properly map TexturePortals to Iterators.
...
Also at the same time disable the Texture support by default.
2015-01-20 13:58:28 -05:00
Robert Maynard
04bc41cad3
Fix multiple issue in the cuda array handle unit tests.
...
The namespaces need to be different for each test, or else only the first
implementation of the function will be used for all tests that call that
function.
Also updated the test to verify that we can count starting from a non zero
number.
2015-01-20 09:03:24 -05:00
Robert Maynard
f8bb4214ad
Implicit Storage containers don't return anything from GetPortal/Const()
...
This means you can't assign the results of the function call to a variable.
This was causing nvcc to crash.
2015-01-20 09:03:24 -05:00
Robert Maynard
9f60876a0a
Move the MapField testing worklets to a worklet namespace.
...
NVCC is unable to handle finding the worklets when they are in an anonymous
namespace. It only looks at the the anonymous namespaces included by the
files that device code uses, and misses our anon namespace. Moving to a named
namespace solves these issues.
2015-01-19 14:25:54 -05:00
Kenneth Moreland
ef093d5c07
The DoWorkletInvokeFunctor methods were missing VTKM_EXEC_EXPORT.
2015-01-15 22:47:28 -07:00
Kenneth Moreland
76ac77b2e5
Move another FunctionInterface manipulation to be exclusively control
2015-01-15 22:42:36 -07:00
Kenneth Moreland
51b5cc63c4
Merge branch 'no-function-interface-zip' into cuda_DeviceAdapterAlgorithm
2015-01-15 22:35:38 -07:00
Kenneth Moreland
dcf1679020
FunctionInterface Append and Replace methods control environment only
...
They were declared as in both control and execution, but this would
cause problems when the FunctionInterface contained objects that could
only be copied in the control environment. Using these methods probably
only makes sense in the control environment anyway. (They are a bit
heavyweight to use in an inner loop of the execution environment.)
2015-01-15 22:34:04 -07:00
Kenneth Moreland
694010b8d7
Fix annoying warning about converting signed to unsigned.
2015-01-15 22:32:04 -07:00
Kenneth Moreland
37dac92052
Add index tags to FunctionInterface features.
...
The functors in the ForEach, StaticTransform, and DynamicTransform
methods sometimes can use the index of the parameter that they are
operating on. This can be a helpful diagnostic in compile and run-time
errors. It is also helpful when linking parameters from one
FunctionInterface with those of another.
This new features are now replacing implementations using the Zip
functionality that was removed earlier. The implementation is actually
simplified a bit.
2015-01-15 22:13:47 -07:00
Kenneth Moreland
0fdc311682
Remove test of Zip functionality from UnitTestFunctionInterface
...
Since that feature has been removed.
2015-01-12 19:24:53 -08:00
Kenneth Moreland
93e42bc3e1
Remove Zip functionality in FunctionInterface.
...
The Zip function does not work when compiling with CUDA because it
forces the parameters to be in both the control and execution (host and
device) environments.
2015-01-12 18:08:32 -08:00
Robert Maynard
3e8ac22fe6
Allow worklet tests to be built for the cuda device adapter.
2014-12-19 13:47:28 -05:00
Robert Maynard
1b5c5a6ce5
Add in initial support for texture binding of input arrays.
2014-12-19 13:47:28 -05:00
Robert Maynard
a509dae909
Use pinned memory for error reporting on the cuda backend.
...
This reduces the amount of explicit cuda Device to Host memory copies.
2014-12-19 13:47:28 -05:00
Robert Maynard
d9270e408d
Adding a cuda device adapter to vtkm.
...
Porting the dax device adapter over to vtkm. Unlike the dax version, doesn't
use the thrust::device_vector, but instead uses thrust::system calls so that
we can support multiple thrust based backends.
Also this has Texture Memory support for input array handles. Some more work
will need to be done to ArrayHandle so that everything works when using an
ArrayHandle inplace with texture memory bindings.
2014-12-19 13:47:28 -05:00
Robert Maynard
e2eb901be3
move DeviceAdapterAlgorithm to correct folder as it's namespace
2014-12-18 11:09:15 -05:00