mesh in latticedemo