49 #include <Xyce_config.h>
57 #include <N_DEV_ExternDevice.h>
58 #include <N_PDS_MPI.h>
59 #include <N_PDS_Serial.h>
102 return device_model->
getName();
108 Parallel::Machine comm,
111 int converged =
true;
112 for (InstanceVector::const_iterator it = extern_devices.begin(); it != extern_devices.end() && converged; ++it)
114 ExternDevice::Instance &extern_device =
static_cast<ExternDevice::Instance &
>(*(*it));
116 converged = extern_device.isInnerSolveConverged();
119 Parallel::AllReduce(comm, MPI_LAND, &converged, 1);
const InstanceName & getName() const
Pure virtual class to augment a linear system.
const std::string & getEncodedName() const
Return the instance name encoded as: [s:]*xname [s:]*Ytype!name [s:]*Utype!name!count.
const std::string & getName(const C *c)
Returns the name of the specified object.
const std::string & getName() const
bool devicesConverged(Parallel::Machine comm, const InstanceVector &extern_devices)
std::vector< DeviceInstance * > InstanceVector