Markus, Wolfgang,

It would be great to have it in the library. And implement it in a proper 
deal-style.

Thank you.

----- Reply message -----
From: "Markus Bürg" <[email protected]>
To: "Wolfgang Bangerth" <[email protected]>
Cc: "Alexander Grayver" <[email protected]>
Subject: [deal.II] Delta function source
Date: Sat, May 5, 2012 11:33


Hello Wolfgang,

> If you do, please rename this function...
>
>>> template <int dim>
>>> void create_point_source_vector(const DoFHandler<dim> &dof_handler,
>>> const Point<dim> &p,
>>> Vector<double> &rhs_vector,
>>> const double factor,
>>> const Tensor<1,dim> &orientation)
>
> ...create_point_source_vector to stick with the original name (the > function 
> simply has a different set of arguments as the existing one) > and drop the 
> factor argument -- one can simply multiply the returned > vector with this 
> number, and it makes the interface simpler.
>
> Btw, the function won't work in 1d right now -- it'd be easier to use > 
> vector extractors rather than working with vector components by hand.
I am not sure what you mean with the renaming. I thought about putting it into 
namespace VectorTools, where the existing one is already located. The other 
points I did already change in my local version.

Best Regards,
Markus
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to