Re: [petsc-users] [petsc-maint] DMSwarm documentation

2023-03-27 Thread Matthew Knepley
On Mon, Mar 27, 2023 at 10:19 AM Joauma Marichal <
joauma.maric...@uclouvain.be> wrote:

> Hello,
>
>
>
> I am writing to you as I am trying to find documentation about a function
> that would remove several particles (given their index). I was using:
>
> DMSwarmRemovePointAtIndex(*swarm, to_remove[p]);
>
> But need something to remove several particles at one time.
>

There are no functions taking a list of points to remove.

  Thanks,

 Matt


> Petsc.org seems to be down and I was wondering if there was any other way
> to get this kind of information.
>
>
>
> Thanks a lot for your help.
>
> Best regards,
>
>
>
> Joauma
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ 


Re: [petsc-users] [petsc-maint] DMSwarm documentation

2023-03-27 Thread Barry Smith

  petsc.org  can be flaky and hang for a few seconds or not 
respond occasionally but trying again should work.

  Barry


> On Mar 27, 2023, at 10:13 AM, Joauma Marichal  
> wrote:
> 
> Hello, 
>  
> I am writing to you as I am trying to find documentation about a function 
> that would remove several particles (given their index). I was using:
> DMSwarmRemovePointAtIndex(*swarm, to_remove[p]);
> But need something to remove several particles at one time.
>  
> Petsc.org  seems to be down and I was wondering if there 
> was any other way to get this kind of information.
>  
> Thanks a lot for your help. 
> 
> Best regards, 
>  
> Joauma