- From: Peter Johnston <p.johnston@griffith.edu.au>
- To: "scirun-users@sci.utah.edu" <scirun-users@sci.utah.edu>
- Subject: [SCIRUN-USERS] Couple of SCIRun5 questions.
- Date: Thu, 3 Dec 2020 06:17:18 +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: /qpEczPFWtHGkOaX21UnGmQtJm8qBtj4PT5u8IT+5qZU71pOMsfarGolHGAwf5IQHZVI9m8flN VIz+Qd7zNIw4w1wTwh0WeKiRbpQjaTVXhhqtohGTAvF5wv2EQVwXZeYMpYYUMdX+7Jt/EBjc/7 VikUFUb2Bgk4n1U0LdwUhNA4d/HxB/OC3crg3ChPlCfT+GtN533v/zO/cveW3mc/CuwGi5T5qw xZiY3NcgAAtysX9+/sSrMO+txL5j+Ts/e6I00t3CuIPVRjO8mfLQfS2B+szIMTNtii5bwx6VYa Rr4=
Hello,
I have a couple of questions regarding SCIRun5:
- 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.)
- 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.
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
Attachment:
simple-mesh.mat
Description: simple-mesh.mat
Attachment:
test-cube.srn5
Description: test-cube.srn5
- [SCIRUN-USERS] Couple of SCIRun5 questions., Peter Johnston, 12/02/2020
Archive powered by MHonArc 2.6.18.