<div dir="auto">Awesome, thanks! </div><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 18, 2018, 9:13 PM Christophe Geuzaine <<a href="mailto:cgeuzaine@uliege.be">cgeuzaine@uliege.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
> On 18 Sep 2018, at 12:16, moritz braun <<a href="mailto:moritz.braun@gmail.com" target="_blank" rel="noreferrer">moritz.braun@gmail.com</a>> wrote:<br>
> <br>
> Dear Christophe<br>
> <br>
> I am currently using gmsh  with a size function <br>
> that becomes very small, but not zero<br>
> close to the positions of nuclei in a molecule<br>
> and is scaling close to linear for distances > 0.1 abohr.<br>
> More specifically<br>
> i have chosen the size function as<br>
> S*sqrt(0.02**2+d**2), with S as a parameter between 0.1 and 0.5<br>
> It would possbily make my calculation more exact<br>
> if I could force gmsh to use the nuclear positions<br>
> as grid points.<br>
> Is there a way to  get gmsh to do that?<br>
> <br>
<br>
Yes : in .geo files, use "Point { ... } In Surface { ... };" or "Point { ... } In Volume { ... };".<br>
<br>
In the API (Python, Julia, C++ or C), use the "embed" function.<br>
<br>
Cheers,<br>
<br>
Christophe<br>
<br>
> Regards<br>
> <br>
> Moritz <br>
> <br>
> -- <br>
> Prof M Braun         Tel.:27-12-4298006/8027<br>
> Physics Department  Fax.: 27-12-4293643<br>
> University of South Africa (UNISA)      <br>
> <a href="mailto:moritz.braun@gmail.com" target="_blank" rel="noreferrer">moritz.braun@gmail.com</a><br>
> P.O. Box 392     <br>
> 0003 <br>
> UNISA<br>
>  South Africa <br>
> <a href="http://moritz-braun.blogspot.com" rel="noreferrer noreferrer" target="_blank">http://moritz-braun.blogspot.com</a><br>
<br>
— <br>
Prof. Christophe Geuzaine<br>
University of Liege, Electrical Engineering and Computer Science <br>
<a href="http://www.montefiore.ulg.ac.be/~geuzaine" rel="noreferrer noreferrer" target="_blank">http://www.montefiore.ulg.ac.be/~geuzaine</a><br>
<br>
Free software: <a href="http://gmsh.info" rel="noreferrer noreferrer" target="_blank">http://gmsh.info</a> | <a href="http://getdp.info" rel="noreferrer noreferrer" target="_blank">http://getdp.info</a> | <a href="http://onelab.info" rel="noreferrer noreferrer" target="_blank">http://onelab.info</a><br>
<br>
</blockquote></div>