Back to index

salome-med  6.5.0
Classes | Namespaces | Functions
MPIMEDCouplingFieldDoubleServant.hxx File Reference
#include "SALOMEconfig.h"
#include "ParaMEDMEMComponent_i.hxx"
#include "ParaMEDCouplingFieldDoubleServant.hxx"
#include <string>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ParaMEDMEM::MPIMEDCouplingFieldDoubleServant

Namespaces

namespace  ParaMEDMEM

Functions

void * th_getdatabympi (void *st)

Function Documentation

void* th_getdatabympi ( void *  st)

Definition at line 91 of file MPIMEDCouplingFieldDoubleServant.cxx.

{
  ostringstream msg;
  thread_st *st = (thread_st*)s;
  except_st *est = new except_st;
  est->exception = false;

  try
    {
      SALOME_MED::MPIMEDCouplingFieldDoubleCorbaInterface_var fieldPtr=SALOME_MED::MPIMEDCouplingFieldDoubleCorbaInterface::_narrow((*(st->tior))[st->ip]);
      fieldPtr->getDataByMPI(st->coupling.c_str());
    }
  catch(const SALOME::SALOME_Exception &ex)
    {
      est->exception = true;
      est->msg = ex.details.text;
    }
  catch(const CORBA::Exception &ex)
    {
      est->exception = true;
      msg << "CORBA::Exception: " << ex;
      est->msg = msg.str();
    }
  delete st;
  return((void*)est);
}

Here is the caller graph for this function: