[Trilinos-Users] Conversion from Teuchos::Array to Epectra_Vector
klnusbaum at gmail.com
Thu Jul 14 11:43:37 MDT 2011
The you could probably just create a blank Epetra_Vector with a map that has
the same number of elements as your Teuchos::Array. Then loop through the
array and insert the values into the Epetra_Vector.
Does anyone else know of an easier way?
On Thu, Jul 14, 2011 at 11:31 AM, Shota Soga <ssoga at ncsu.edu> wrote:
> Dear Sir/Madam:
> Hi, I am Shota Soga, a graduate student at NCSU.
> I have a question how to convert Teuchos::Array to Epectra_Vector so that I
> can export Teuchos::Array into MatrixMarket format by EpetraExt. I would
> greatly appreciate it if you would answer my question.
> I would like to access Teuchos::Array data by MATLAB. Is there any possible
> way to convert Teuchos::Array into Epectra_Vector?
> Thank you for your help and kindness.
> Shota Soga
> Graduate Research Assistant at North Carolina State University
> Email: ssoga at ncsu.edu
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
Peace, Love, and Source Code
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Trilinos-Users