Dear all, I am facing a little challenge: Suppose I have several objects myFunction of a certain class MyFunction<dim> derived from a Function<dim> object on each process in my MPI universe. The number of MyFunction objects may vary from process to process. I am trying to evaluate each object at certain points p that live on a distributed::Triangualtion<dim>. The evaluation points are different for each MyFunction object. A point may be contained in a cell owned by another process whose id is known, so I know where to send it to to ask a MyFunction object on that specific process to evaluate it for me and send the value back.
Now my question: How do I deal with several MyFunction objects on one process (I can identify these by a hash). Is it a good idea to have a class with a set of static variables and methods on each node to manage the communication and distribute necessary information within the process using the specific MyFunction hash? Does that make sense? Let me stress again, the difficulty here is that I have several objects that may ask for values one by one or even in a (shared memory) parallel manner that may or may not trigger communication (sort of some_to_some style as implemented in Deal.II). Thanks in advance :-) Best, Konrad -- 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/4fb6b294-aa7f-4dc2-b823-e42247bf2302n%40googlegroups.com.