in string theWorkingDir) raises(SALOME::SALOME_Exception);
// Associate boundaries to groups
+ void AddBoundary(in string BoundaryName) raises (SALOME::SALOME_Exception);
void AddBoundaryGroup(in string BoundaryName,
in string Group) raises (SALOME::SALOME_Exception);
MESSAGE ("End PythonDump");
}
+void HOMARD_Gen_i::AddBoundary(const char* BoundaryName)
+{
+ MESSAGE("HOMARD_Gen_i::AddBoundary : BoundaryName = " << BoundaryName);
+ if (myCase->_is_nil()) {
+ SALOME::ExceptionStruct es;
+ es.type = SALOME::BAD_PARAM;
+ std::string text = "The input mesh must be defined before boundary addition";
+ es.text = CORBA::string_dup(text.c_str());
+ throw SALOME::SALOME_Exception(es);
+ }
+ myCase->AddBoundary(BoundaryName);
+}
+
void HOMARD_Gen_i::AddBoundaryGroup(const char* BoundaryName, const char* Group)
{
MESSAGE("HOMARD_Gen_i::AddBoundaryGroup : BoundaryName = " <<
void DeleteCase();
CORBA::Long DeleteIteration(int numIter);
+ void AddBoundary(const char* Boundary);
void AddBoundaryGroup(const char* Boundary, const char* Group);
void AssociateCaseIter(int numIter, const char* labelIter);