Displaying 2 results from an estimated 2 matches for "allids".
Did you mean:
all_ids
2013 Mar 10
1
misc3d Contour export to vtk
...of the ball (the contour) was missing. Example
below, or gist here:
https://gist.github.com/muschellij2/5126544
rm(list=ls())
require(misc3d)
f <- function(x, y, z) x^2+y^2+z^2
x <- seq(-2,2,len=20)
ball <- contour3d(f,4,x,x,x, draw=FALSE)
drawScene.rgl(ball)
### get the triangles
allids <- rgl.ids()
id <- allids$id[allids$type == "triangles"]
filename="test.vtk"
f <- file(filename, open = "w")
start <- c("# vtk DataFile Version 3.0", "3D Plot data", "ASCII")
n3 <- rgl.attrib.count(id, "vert...
2008 Jul 01
2
problem with mpiexec and Rmpi
Dear R People:
I'm having some trouble with mpiexec and Rmpi.
I would like to be able to pass in the number of "children" via the
mpiexec command (from the command line).
this is in SUSE10.1, with R-2.7.1
Here are my files:
cat eb.R
library(Rmpi)
mpi.remote.exec(paste("i am",mpi.comm.rank(),"of",mpi.comm.size()))
mpi.quit()
hodgesse at