SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] Couple of SCIRun5 questions.


Chronological Thread 
  • From: Peter Johnston <p.johnston@griffith.edu.au>
  • To: Daniel White <dwhite@sci.utah.edu>
  • Cc: "scirun-users@sci.utah.edu" <scirun-users@sci.utah.edu>
  • Subject: Re: [SCIRUN-USERS] Couple of SCIRun5 questions.
  • Date: Sun, 6 Dec 2020 23:06:19 +0000
  • Accept-language: en-AU, en-US
  • Authentication-results: relay.mimecast.com; auth=pass smtp.auth=CAU12A6 smtp.mailfrom=p.johnston@griffith.edu.au
  • Ironport-sdr: uJTmMclt+2IDgd+q1LcK62oQF0Y3adREVpDdaE01Ngy958ftKlTEA9uYKwc6k9LomKnjiE8JNF zFEVfXEWj1k6NwBhxcQw/oGVwCLDrj/3g4XAlwIFdPtaJ7rUTYDerAh/lHPKDXSG9/Tg8+BqHn zg9kpPXB5FKCYm3xeAYzz5D0cu0bIgK0RMyBDzAa//RPv4j2V+qoD4m9pvtLIBiGgJQ5VyGQqL eEPjzovcuQ/g2DLc1hZU2q5Eq0N+xpLRH9UC5CgDwrQwpSViWXjMINgv+bxQXZexCeRRJ4RB/m P9A=

Thanks Dan,

You answers make sense. I have uploaded the questions to the discussion group as requested.

Thanks again,

Peter.

Associate Professor Peter Johnston (FAustMS, FIMA)
School of Environment and Science
Griffith University | Nathan | QLD 4111 | Technology (N44) Room 3.19
T +61 7 373 57748| F +61 7 373 57656 Email p.johnston@griffith.edu.au
On 4 Dec 2020, 6:17 AM +1000, Peter Johnston <p.johnston@griffith.edu.au>, wrote:

Hello,

I have a couple of questions regarding SCIRun5:

  1. How do you display node numbers in ViewScene window? I know how to do this in SCIRun 4, but the same option no longer appears in SCIRun 5. (Apologies if this is a dumb question.)
  2. Could someone explain the file format of the SparseRowMatrix (ASCII) output file. I am mainly interested in the long line that contains all the values. I have attached a simple SCIRun file that illustrates my question as well as the saved sparse matrix file. The example is a simple 4x4x4 cubic mesh. I generate the mesh and then extract the boundary using GetFieldBoundary. One of the outputs from this is a SparseRowMatrix (presumably) mapping the boundary nodes to the overall node numbers in the original 3D mesh. Looking at the long line in the sparse matrix file, the first three numbers are reasonably clear: the number of nodes in the boundary mesh (56), the number of nodes in the original mesh (64), the number of non-zero elements in the matrix (56). There are then three sets of numbers between pairs of {}’s. The first set starts with the number ‘8’ and then has 57 numbers running from 0 to 56. Two questions: (1) what is the ‘8’ for? (2) Shouldn’t the following numbers run from 0 to 55? The next set of numbers again starts with an ‘8’ and then there are 56 unique numbers from the range 0 to 63 (this is presumably the mapping?) Again, why the ‘8’? The last set of numbers contains 56 1’s. It is reasonably clear what this means.

Any help in understanding these points would be much appreciated.

Thanks,

Peter.



Archive powered by MHonArc 2.6.18.

Top of page