TODO: check hybrid mesh and implement hybrid energies