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

robin | Tue, 11/03/2015 - 09:38

Thanks a lot Daniel ! The online documentation is up to date, and gives the correct default surface model.

I have another related question: what about contact_interface.h?
In this files, the structures SurfacesCloseData and SurfacesIntersectData are defined.
I'd like to give alternative definitions, with a bunch of new atributes, is there a "clean" way to do this? Or the only way is to directly modify contact_interface.h?

Cheers