Depend on which species you're calling a "brain coral" here. If you're talking about Trachyphyllia, I'd say you'll be just fine. For most Favia, Favites, Platygyra I'd just be sure the coral isn't shaded. For Goniastraea, I'd say that's probably pushing it.