b2api
B2000++ API Reference Manual, VERSION 4.6
 
Loading...
Searching...
No Matches
b2000::LooseCoupling Class Referenceabstract

Inherited by b2000::NSMB_MPI_Coupling.

Public Types

enum  
 Commands issued by the external solver.
 

Public Member Functions

virtual void init (Model &model, const std::string &id_, const Case &case_)=0
 Setup communication with the external solver.
 
virtual int fetch_command ()=0
 Ask the external solver what to do.
 
virtual void fetch_and_map_nbc (b2linalg::Vector< double, b2linalg::Vdense > &value_)=0
 
virtual void map_and_send_solution (const b2linalg::Vector< double, b2linalg::Vdense_constref > &dof)=0
 

Detailed Description

Generic interface for communication with an external solver for the purpose of loose-coupling. The external solver controls the analysis.

Member Function Documentation

◆ fetch_and_map_nbc()

virtual void b2000::LooseCoupling::fetch_and_map_nbc ( b2linalg::Vector< double, b2linalg::Vdense > &  value_)
pure virtual

Fetch the forces/heat fluxes etc. from the external solver and map them to the structural domain.

◆ map_and_send_solution()

virtual void b2000::LooseCoupling::map_and_send_solution ( const b2linalg::Vector< double, b2linalg::Vdense_constref > &  dof)
pure virtual

Map the displacements/temperatures etc. and send them to the external solver.


The documentation for this class was generated from the following file: