On 2/28/20 12:49 AM, 'Maxi Miller' via deal.II User Group wrote:
After additional tests I noticed that I'm not only overwriting the
target_component-component with the new values, but also the other
components, but with 0 instead. But instead I do not want to touch them.
How can I do that (if p
After additional tests I noticed that I'm not only overwriting the
target_component-component with the new values, but also the other
components, but with 0 instead. But instead I do not want to touch them.
How can I do that (if possible)?
Thanks!
Am Donnerstag, 27. Februar 2020 17:00:12 UTC+1
Yes, the lambda worked, thanks!
Am Donnerstag, 27. Februar 2020 17:00:12 UTC+1 schrieb Wolfgang Bangerth:
>
>
> > |
> > Functions::InterpolatedTensorProductGridData
> interpolator(this->coordinate_values,
> >
> this->data_storage);
|
Functions::InterpolatedTensorProductGridData
interpolator(this->coordinate_values,
this->data_storage);
VectorFunctionFromScalarFunctionObject
interpolator_object(&interpolator.value,
The error...
but the compilation fails
I implemented it the following way:
Functions::InterpolatedTensorProductGridData interpolator(this->
coordinate_values,
this->data_storage);
VectorFunctionFromScalarFunctionObject interpolator_object(&
interpolator.v
On 1/23/20 7:29 AM, 'Maxi Miller' via deal.II User Group wrote:
>
> Why would you want to project when you can interpolate? That seems
> unnecessarily expensive :-)
>
> I would like to have the input data (which is interpolated) as an additional
> component, which then is printed togethe
Am Mittwoch, 22. Januar 2020 19:23:52 UTC+1 schrieb Wolfgang Bangerth:
>
> On 1/22/20 11:17 AM, 'Maxi Miller' via deal.II User Group wrote:
> > As source term for calculations I am using data which is written in an
> > external matrix (because it has been calculated by an external
> > function
On 1/22/20 11:17 AM, 'Maxi Miller' via deal.II User Group wrote:
> As source term for calculations I am using data which is written in an
> external matrix (because it has been calculated by an external
> function), together with the x- and y-values for each matrix entry. My
> current approach f
As source term for calculations I am using data which is written in an
external matrix (because it has been calculated by an external function),
together with the x- and y-values for each matrix entry. My current
approach for using this data is to use an interpolation function from GSL,
and cal