A novel core analysis method for prismatic high temperature gas reactors