[Dune] readBCRSMatrixFromMatlabFile
Bernd Flemisch
bernd at iws.uni-stuttgart.de
Fri Jun 10 17:02:59 CEST 2011
Ok, I was not aware of that, thanks for pointing that out.
Kind regards
Bernd
On 06/10/2011 02:48 PM, Markus Blatt wrote:
> Hi,
>
>
> On Fri, Jun 10, 2011 at 01:07:41PM +0200, Christian Engwer wrote:
>> Hi Bernd,
>>
>> <quote>
>> BTW: The example contains a routine
>> void readBCRSMatrixFromMatlabFile(const char *fileName, Matrix& A)
>> which I think could be interesting for inclusion in
>> dune/istl/io.hh. It is the reverse to writeMatrixToMatlab.
>> </quote>
>>
>> I think you are right, that such a functions would be nice.
> I want to point out that this functionality is already (nearly) there:
> One can read this kind of file with the matrixmarket io,
> see header matrixmarket.hh and especially function loadMatrixMarket.
>
> But I have to check whether I throw an error if there is no
> matrixMarket specific header in the file.
>
> Still, no need to introduce more redundant code.
>
> Cheers,
>
> Markus
>
--
_____________________________________________________________________
Bernd Flemisch phone: +49 711 685 69162
IWS, Universität Stuttgart fax: +49 711 685 60430
Pfaffenwaldring 61 email: bernd at iws.uni-stuttgart.de
D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de
_____________________________________________________________________
More information about the Dune
mailing list