- The main purpose of this study is to find out whether or not the energy restricted ketogenic diet will help patients with primary brain cancer by either decreasing the size of the cancer or by keeping the cancer from growing.