| MULTIBODY SIMULATION SOFTWARE - API documentation |
#include <CHlcpSystemDescriptorMPI.h>

Public Member Functions | |
| std::vector< ChLcpSharedVarMPI > & | GetSharedVariablesList () |
| virtual void | BeginInsertion () |
| virtual void | EndInsertion () |
| virtual void | InsertSharedVariable (ChLcpSharedVarMPI &mv) |
| virtual void | SetMPIfriend (int mid) |
| virtual int | GetMPIfriend () |
| virtual ChMatrixDynamic * | GetSharedVectorIn () |
| virtual ChMatrixDynamic * | GetSharedVectorOut () |
| virtual ChMPIrequest * | GetMPIrequest () |
| virtual void | SendMPI () |
| virtual void | ReceiveMPI () |
| virtual void | AddReceivedMPI () |
| virtual void | SendForcesMPI () |
| virtual void | ReceiveForcesMPI () |
| virtual void | AddReceivedForcesMPI () |
Protected Attributes | |
| std::vector< ChLcpSharedVarMPI > | sharedvariables |
| int | id_MPI |
| ChMatrixDynamic | shared_vector_out |
| ChMatrixDynamic | shared_vector_in |
| ChMPIrequest | mpi_request |
Class for defining a vector of variables of a domain that are shared with another domain (that can be reached via MPI)
| void chrono::ChLcpSharedInterfaceMPI::EndInsertion | ( | ) | [virtual] |
End insertion of items: do some preprocessing optimization, such as allocate the proper size of the shared vector and sort shared variables according to their unique IDs.
| void chrono::ChLcpSharedInterfaceMPI::ReceiveMPI | ( | ) | [virtual] |
Receives a single block of data from the friend domain that shares this set of variables, and set to 'fb' sparse vectors, by ADDING values. Note: this can be called only after EndInsertion() has been done, because of needed preoptimizations.
| void chrono::ChLcpSharedInterfaceMPI::SendMPI | ( | ) | [virtual] |
Sends a single block of data to the friend domain that shares this set of variables. Note: this can be called only after EndInsertion() has been done, because of needed preoptimizations.
CHRONO::ENGINE