LIGGGHTS® - Developer Forum

Topics related to developing with LIGGGHTS® can be discussed here: discussion about implementation details, C++, MPI and debugging tools

Introduce particle parameter

Submitted by robin on Wed, 11/04/2015 - 12:14

Hi everyone!

So far, I've used custom interaction parameters (something like a rigidity) in my contact laws, adding them in the file global_properties.cpp.

Now, I'd like to introduce a particle parameter (something like a radius).
What I've tried so far is reproduce what's implemented for the radius in the following files :
- atom.h, atom.cpp : define the new parameter
- set.cpp : set it in the input script
- atom_vec_sphere.h, atom_vec_sphere.cpp : set the atom->parameter_flag to 1, manage memory (as far as I understand)

New surface model

Submitted by robin on Mon, 11/02/2015 - 14:43

Hi liggghts developers!

I'd like to modify the behavior implemented in the surface_model_default.h file.
So far, what I've done is to directly modify this file, which is not a clean way to do.

If I create a new surface model (surface_model_new.h) , where will I be able to choose this new model in my input scripts?

Cheers,
Robin

compilation takes long time

Submitted by vinaym on Mon, 10/26/2015 - 13:55

Hello all,

Since this is the developer forum, I assume many people here need to compile the implementation 'often'. And this could be annoying, if it takes really long time to compile.

I have observed that LIGGGHTS compilation is stuck for a long time at the following place in the os_specific.h file:

about this beginPass and endPass function

Submitted by xiuhan on Fri, 10/09/2015 - 16:14

In contact_models.h and some other header files. I saw this beginPass and endPass functions , but Just don't get what they do and what they mean. They are inline functions with a void return type. BUT then? what they really do? they are not constructor or destructor. Can somebody tell me?

and also there is another function named checkSurfaceIntersect(). But this function doesn't check anything, it only gives a value true. Is it really necessary?

Thank you very much~!

Xiuhan

Improved scalability of insertion in LIGGGHTS

rberger's picture
Submitted by rberger on Tue, 07/21/2015 - 18:38

Hi people,

I've pushed another patch today to improve the scalability of particle insertion in LIGGGHTS. You can find a description here:

https://github.com/ParticulateFlow/LIGGGHTS-PUBLIC/pull/1

It's yet another one of those features I had to hold back for months. Now I'm free to publicly release it. Better late than never I guess...

Cheers,
Richard

Pages

Subscribe to RSS - LIGGGHTS® - Developer Forum