[Gmsh] Exporting Matrices generated by getdp as MatrixMarket or similar

moritz braun moritz.braun at gmail.com
Wed Jan 11 12:02:03 CET 2012


Hi Ruth

I am using GenerateSeparate(A) to get both matrices.
However Print(A) after that fails!

regards

Moritz

On Wed, Jan 11, 2012 at 11:59 AM, Ruth V. Sabariego
<r.sabariego at ulg.ac.be> wrote:
> As the implementation is, you can just get a matrix per system (and the
> right hand side).
> Maybe you can isolate your matrix in different systems to print them
> separately.
>
> Regards,
> Ruth
>
>
> --
> Dr. Ir. Ruth V. Sabariego
> University of Liege, Electrical Engineering & Computer Science,
> Applied & Computational Electromagnetics (ACE),
> phone: +32-4-3663737 - fax: +32-4-3662910 - http://ace.montefiore.ulg.ac.be/
>
>
>
> On 11 Jan 2012, at 10:46, moritz braun wrote:
>
> Hi Ruth!
> Thanks a lot.
>
> That means I should be able
> to only use
> Generate[A]; Print[A]
>
> If there are two matrices i.e. Ax=lambda Bx
> how will that work?
>
> regards
>
> Moritz
>
> On Wed, Jan 11, 2012 at 11:27 AM, Ruth V. Sabariego
> <r.sabariego at ulg.ac.be> wrote:
>
> You can save the matrix in Matlab format. Use Print in the Resolution:
>
>
> Resolution{
>
>
>  { Name YourResolution ;
>
>     System {
>
>       { Name A ; NameOfFormulation YourFormulation ; Type ComplexValue;
>
> Frequency Freq ; }
>
>     }
>
>     Operation {
>
>       Generate[A] ; Print[A] ; Solve[A] ; SaveSolution[A] ;
>
>     }
>
>   }
>
> }
>
>
>
> Regards,
>
> Ruth
>
>
> --
>
> Dr. Ir. Ruth V. Sabariego
>
> University of Liege, Electrical Engineering & Computer Science,
>
> Applied & Computational Electromagnetics (ACE),
>
> phone: +32-4-3663737 - fax: +32-4-3662910 - http://ace.montefiore.ulg.ac.be/
>
>
>
>
> On 11 Jan 2012, at 10:01, moritz braun wrote:
>
>
> Dear All
>
>
> Is there a way to export the matrices that
>
> are caclulated by getdp as MatrixMarket files
>
> or similiar?
>
>
> 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
>
>



-- 
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