bool MoertelT::MOERTEL_TEMPLATE_CLASS(InterfaceT)::ProjectNodes_NormalField() { if (!IsComplete()) { std::stringstream oss; oss << "***ERR*** MoertelT::Interface::ProjectNodes_NormalField:\n" << "***ERR*** Complete() not called on interface " << Id() << "\n" << "***ERR*** file/line: " << __FILE__ << "/" << __LINE__ << "\n"; throw MoertelT::ReportError(oss); } if (lcomm_ == Teuchos::null) return true; // project the slave nodes onto the master surface along the slave normal // field ProjectNodes_SlavetoMaster_NormalField(); // project the master nodes ontp the slave surface along slave's normal field ProjectNodes_MastertoSlave_NormalField(); return true; }
/*----------------------------------------------------------------------* | do projection of nodes on master and slave side | *----------------------------------------------------------------------*/ bool MOERTEL::Interface::ProjectNodes_NormalField() { if (!IsComplete()) { std::stringstream oss; oss << "***ERR*** MOERTEL::Interface::ProjectNodes_NormalField:\n" << "***ERR*** Complete() not called on interface " << Id() << "\n" << "***ERR*** file/line: " << __FILE__ << "/" << __LINE__ << "\n"; throw ReportError(oss); } if (!lComm()) return true; // project the slave nodes onto the master surface along the slave normal field ProjectNodes_SlavetoMaster_NormalField(); // project the master nodes ontp the slave surface along slave's normal field ProjectNodes_MastertoSlave_NormalField(); return true; }