status_t phase_getatomicweights_(const integer* n, doublereal* atw) { try { ThermoPhase* p = _fph(n); const vector_fp& wt = p->atomicWeights(); copy(wt.begin(), wt.end(), atw); } catch (...) { return handleAllExceptions(-1, ERR); } return 0; }
status_t DLL_EXPORT phase_getatomicweights_(const integer* n, doublereal* atw) { ThermoPhase* p = _fph(n); const vector_fp& wt = p->atomicWeights(); copy(wt.begin(), wt.end(), atw); return 0; }