Re: [deal.II] evaluating basis functions at random points

2021-12-13 Thread Daniel Arndt
Andrea,

have a look at GridTools::compute_point_locations(
https://www.dealii.org/developer/doxygen/deal.II/namespaceGridTools.html#a8e8bb9211264d2106758ac4d7184117e
).
Step-60 demonstrates its use.

Best,
Daniel

Am Mo., 13. Dez. 2021 um 16:14 Uhr schrieb Andrea Bonito :

> Howdy:
>
> this might be a simple question but I do not seem to find a way to
> efficiently evaluate basis functions at random points. More precisely, I am
> given random points in my computational domain and I need to assemble the
> terms
>
> phi_i(p) phi_j(p)  for all random points p and all i,j =1,..., n_dofs.
>
> As of now, I am going cell by cell and check whether p is inside the cell
> (including the boundary). If it is, I am creating a quadrature with one
> point in the reference cell (using the mapping).
>
> I am sure one of you has a better way... any help would be appreciated.
>
> Andrea
>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see
> https://groups.google.com/d/forum/dealii?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dealii/18f9edd4-c848-4983-9724-e87b31bd219cn%40googlegroups.com
> 
> .
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAOYDWbL0sLUAKK2wOzu8uV2oKOhu-QY7OXSyQPUSaX1NVMxmsQ%40mail.gmail.com.


[deal.II] evaluating basis functions at random points

2021-12-13 Thread Andrea Bonito
Howdy:

this might be a simple question but I do not seem to find a way to 
efficiently evaluate basis functions at random points. More precisely, I am 
given random points in my computational domain and I need to assemble the 
terms 

phi_i(p) phi_j(p)  for all random points p and all i,j =1,..., n_dofs. 

As of now, I am going cell by cell and check whether p is inside the cell 
(including the boundary). If it is, I am creating a quadrature with one 
point in the reference cell (using the mapping).

I am sure one of you has a better way... any help would be appreciated.

Andrea

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/18f9edd4-c848-4983-9724-e87b31bd219cn%40googlegroups.com.


Re: [deal.II] Introduction and request for feedback

2021-12-13 Thread Timo Heister
Hi Macro,

Thanks for getting in touch. I don't have much to say about your plan,
but I can comment on the following:

> As a final note, I am a big fan of open source software. Therefore, I am fully
> committed to contribute whatever I develop back to the Deal II community
> including examples/tests/documentation and so on. For example, one of the 
> first
> things on my list is to expand on the Abaqus input file reader. I have some
> ideas in this area that I would like to pitch if there is any interest.

Great, we are always happy to get contributions! See
https://github.com/dealii/dealii/wiki/Contributing to get started and
feel free to ask for help.

> Another
> practical thing I can contribute to is testing the compilation of Deal II with
> different versions of libraries. For example, Deal II will not compile out of 
> the
> box with newer TBB versions.

There has been progress on supporting the new oneTBB in the last 2 weeks, see
https://github.com/dealii/dealii/pull/13031
https://github.com/dealii/dealii/pull/12958
and things should work already or soon, I think.

> But I also get a fair amount of warnings of array
> bounds that (the compiler thinks) are not correct.

If you see them on deal.II master, feel free to create an issue at
https://github.com/dealii/dealii/issues or try to fix them and submit
a pull request.

Best,
Timo

-- 
Timo Heister
http://www.math.clemson.edu/~heister/

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/CAMRj59Huy1L%2B93K3JKGbYucdvKdofL72KfuNN0Y0pXwvSKdT2Q%40mail.gmail.com.