Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8959

Re: How to use Save/Get for interpolation of unstructured data?

From David Bailey <dave@removedbailey.co.uk>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: How to use Save/Get for interpolation of unstructured data?
Date 2012-03-11 09:07 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jjhq0p$itl$1@smc.vnet.net> (permalink)
References <jj7dri$2ds$1@smc.vnet.net>

Show all headers | View raw


On 07/03/2012 10:38, Ted Sariyski wrote:
> Hi,
>
> I posted this question a couple of days ago but did not get any
> response. Meanwhile I noticed that the Save-d interpolation data contains
> "NDSolve`FEM`ElementMesh", which may relates to my problem. Let me
> restate the question.
>
> I have 2D unstructured data in the form {{{1.22001, 0.00024605},
> 0.816237}, {{1.22334, 0.000250332},0.436219},... } (connectivity is also
> available but I do not know how to use it with Mathematica).
>
> Interpolation issues a warning:
>
> "Interpolation::udeg: Interpolation on unstructured grids is currently
> only supported for InterpolationOrder->1 or InterpolationOrder->All.
> Order will be reduced to 1.>>",
>
> The warning is not an issue for me, the problem is that I cannot use
> Save/Get for this interpolation function. After Get the interpolation
> function instead of a number returns:
>
> intp[1., .8]
>       InterpolatingFunction[{{0.000905256237704326, 1.9993734385285347},  {0.00024605021944692736, 0.9989678166248219}},
> {4, 4225, 0, {10880, 2}, {2, 2}, 0, 0, 0, 0, Automatic},
> {NDSolve`FEM`ElementMesh[{{1.220009724772626, 0.00024605021944692736},
> {1.223336731504134, 0.0002503318707254048}, {1.2273720422942693, ...
>
> which is the non-evaluated  content of the Save-d file.
>
> What is the right way to use Save/Get for interpolation of unstructured
> data?
>
> Any help will be highly appreciated.
> Thanks,
> --Ted
I think it would help to post some actual code for this. In general, 
surely if you save an interpolation function, you would expect this 
function to be recovered using Get - so I cam't see what the issues is.

David Bailey
http://www.dbaileyconsultancy.co.uk

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to use Save/Get for interpolation of unstructured data? Ted Sariyski <tsariysk@craft-tech.com> - 2012-03-07 10:38 +0000
  Re: How to use Save/Get for interpolation of unstructured data? David Bailey <dave@removedbailey.co.uk> - 2012-03-11 09:07 +0000
  Re: How to use Save/Get for interpolation of unstructured Ted Sariyski <tsariysk@craft-tech.com> - 2012-03-12 09:10 +0000
    Re: How to use Save/Get for interpolation of unstructured David Bailey <dave@removedbailey.co.uk> - 2012-03-13 08:04 +0000
    Re: How to use Save/Get for interpolation of unstructured A Retey <awnl@gmx-topmail.de> - 2012-03-14 05:40 +0000
    Re: How to use Save/Get for interpolation of unstructured Ted Sariyski <tsariysk@craft-tech.com> - 2012-03-14 05:41 +0000

csiph-web