c2vsim.readMesh | R Documentation |
c2vsim.readMesh Reads the Mesh element information of the C2Vsim coarse and fine grid
c2vsim.readMesh(filename, NE = 1392, Nskip = 93, Ncols = 5)
filename |
is the name of the mesh element file. Usually is CVelement.dat |
NE |
is the number of elements. The default value corresponds to the coarse grid version |
Nskip |
is the number of lines to skip before start reading the list of nodes. The default value corresponds to the coarse grid version. |
Ncols |
is the number of columns. For the coarse grid version is 5 : 1 for element ID and 4 columns for the node IDs. For the fine grid there is an extra column with the subregion id. |
a data frame with the following fields: ID, ND1...ND4. If the elements are triangles then the ND4 index is zero
MSH <- c2vsim.readMesh("CVelement.dat")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.