[Gmsh] How to only print lower triangle of symmetric matrix with print[A] in getdp
moritz braun
moritz.braun at gmail.com
Thu Jan 12 12:18:44 CET 2012
Hi Michael
Here we go!
my .pro file is attached!
In order to use them in my python based scripting
I also had to convert them to matrixmarket format
for which I used
the attached script
My pet peeve with getdp is that i only does simple linear
tetrehedral elements in 3D in contract to gmsh that goes up to fourth order!
regards
Moritz
On Thu, Jan 12, 2012 at 1:11 PM, <michael.asam at infineon.com> wrote:
> Dear Moritz,
>
> I'm glad that you managed to extract the matrices.
> Unfortunately I failed :-(
> Therefore it would be great, if you could send me
> an example of how to do it (if it's not confidential).
>
> By the way, what version of GetDP and what operating
> system are you using? I've tried it with GetDP 2.1.0
> on Windows.
>
> Kind regards and many thanks in advance!
> Michael
>
>
> -----Original Message-----
> From: gmsh-bounces at ace20.montefiore.ulg.ac.be [mailto:gmsh-bounces at ace20.montefiore.ulg.ac.be] On Behalf Of moritz braun
> Sent: Thursday, January 12, 2012 10:29 AM
> To: gmsh at geuz.org
> Subject: [Gmsh] How to only print lower triangle of symmetric matrix with print[A] in getdp
>
> Hi All
> Hi Ruth
>
> I have managed to extract the two matrices
> of my generalized eigenvalue problem as matlab scripts
> However it spits out the whole matrix .i.e both upper and lower
> triangel. which makes
> conversion into matrixmarket tedious.
> Is there a way to change the print format?
>
> regards
>
> Moritz
>
> --
> Prof M Braun Tel.:27-12-4298006/8027
> Physics Department Fax.: 27-12-4293643
> University of South Africa (UNISA)
> moritz.braun at gmail.com
> P.O. Box 392
> 0003
> UNISA
> South Africa
>
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
--
Prof M Braun Tel.:27-12-4298006/8027
Physics Department Fax.: 27-12-4293643
University of South Africa (UNISA)
moritz.braun at gmail.com
P.O. Box 392
0003
UNISA
South Africa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: harm_osc_eigen.pro
Type: application/octet-stream
Size: 2114 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120112/4bd72b6d/attachment.pro>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: matmtomtx.py
Type: text/x-python
Size: 587 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120112/4bd72b6d/attachment.py>