On Tue, Sep 6, 2011 at 3:14 AM, Martin Hess <he...@mpi-magdeburg.mpg.de> wrote: > > Hello, > > which matrix formats does libmesh export and import? > I am thinking about formats like MatrixMarket, FEniCS *.xml or Matlab *.mat.
We don't currently have any interfaces for reading matrices directly (that I know of). Some people have done the converse of what you propose in the past, i.e. using libmesh to generate matrices and then processing them elsewhere... The "reading values" part would not be too difficult to implement: a potential interface would be a SparseMatrix member function taking three arrays representing (row, column, value) triplets. We've actually been discussing adding an interface like this recently, I'm not sure what the current status of that code is but it might be available soon. > My background is that I want to use Reduced Basis functionality, on problems > resulting > from electromagnetics. So I am using an external solver for generating system > matrices > with nedelec and RT-elements, and would like to import the matrices to > libmesh, to do > parametric model order reduction via reduced basis. A trickier part might be using the SparseMatrix/LinearSolver stuff without an underlying mesh and finite element discretization. Have you tried doing this (using dummy matrix values) yet? Might be a good place to get started. -- John ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users