Closed timhutton closed 3 years ago
That looks absolutely perfect Tim! I'll merge your pull request and check it out soon. One thing that I'm currently doing in the plugin is stripping out all the const's.. but maybe they will actually be ok once it's not float4. I am intending to try to use the whole kernel that Ready builds, so there's no need for a single method that returns the keywords section any more. Reading the code it did seem like it might be a good thing to do to it anyway though? (even just for organisational/modularity reasons?)
This closes #124
Supports 4x1x1 (float4 or double4) and 1x1x1 (float or double).
@danwills I hope this is useful for your Houdini efforts. Now you should be able to call
system->SetBlockSizeX(1)
and thensystem->GetKernel()
will return: (e.g. for advection.vti)Let me know how else to make the interop with Houdini easier. Would it be useful to have a
system->GetFormulaKeywords()
that returned this part:Or something like that?