Awesome, thanks! On Tue, Sep 18, 2018, 9:13 PM Christophe Geuzaine <[email protected]> wrote:
> > > > On 18 Sep 2018, at 12:16, moritz braun <[email protected]> wrote: > > > > Dear Christophe > > > > I am currently using gmsh with a size function > > that becomes very small, but not zero > > close to the positions of nuclei in a molecule > > and is scaling close to linear for distances > 0.1 abohr. > > More specifically > > i have chosen the size function as > > S*sqrt(0.02**2+d**2), with S as a parameter between 0.1 and 0.5 > > It would possbily make my calculation more exact > > if I could force gmsh to use the nuclear positions > > as grid points. > > Is there a way to get gmsh to do that? > > > > Yes : in .geo files, use "Point { ... } In Surface { ... };" or "Point { > ... } In Volume { ... };". > > In the API (Python, Julia, C++ or C), use the "embed" function. > > Cheers, > > Christophe > > > Regards > > > > Moritz > > > > -- > > Prof M Braun Tel.:27-12-4298006/8027 > > Physics Department Fax.: 27-12-4293643 > > University of South Africa (UNISA) > > [email protected] > > P.O. Box 392 > > 0003 > > UNISA > > South Africa > > http://moritz-braun.blogspot.com > > — > Prof. Christophe Geuzaine > University of Liege, Electrical Engineering and Computer Science > http://www.montefiore.ulg.ac.be/~geuzaine > > Free software: http://gmsh.info | http://getdp.info | http://onelab.info > >
_______________________________________________ gmsh mailing list [email protected] http://onelab.info/mailman/listinfo/gmsh
