bool MoertelT::MOERTEL_TEMPLATE_CLASS(InterfaceT)::ProjectNodes_Orthogonal() { if (!IsComplete()) { std::stringstream oss; oss << "***ERR*** MoertelT::Interface::ProjectNodes_Orthogonal:\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 master nodes onto the slave surface orthogonaly ProjectNodes_MastertoSlave_Orthogonal(); // project the slave nodes onto the master surface orthogonal to adjacent // slave segment ProjectNodes_SlavetoMaster_Orthogonal(); return true; }
/*----------------------------------------------------------------------* | do projection of nodes on master and slave side | *----------------------------------------------------------------------*/ bool MOERTEL::Interface::ProjectNodes_Orthogonal() { if (!IsComplete()) { std::stringstream oss; oss << "***ERR*** MOERTEL::Interface::ProjectNodes_Orthogonal:\n" << "***ERR*** Complete() not called on interface " << Id() << "\n" << "***ERR*** file/line: " << __FILE__ << "/" << __LINE__ << "\n"; throw ReportError(oss); } if (!lComm()) return true; // project the master nodes onto the slave surface orthogonaly ProjectNodes_MastertoSlave_Orthogonal(); // project the slave nodes onto the master surface orthogonal to adjacent slave segment ProjectNodes_SlavetoMaster_Orthogonal(); return true; }