COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
Helper struct to synchronize fields at the end of a loop. More...
#include <FieldSync.hpp>
Inherits noncopyable.
Public Member Functions | |
void | insert (mesh::Field &f, bool do_periodic_element_update) |
void | synchronize () |
Sync fields and clear the list. More... | |
Static Public Member Functions | |
static FieldSynchronizer & | instance () |
Singleton implementation. More... | |
Private Types | |
typedef std::map< std::string, std::pair< Handle< mesh::Field >, bool > > | FieldsT |
Private Member Functions | |
FieldSynchronizer () | |
Private Attributes | |
FieldsT | m_fields |
Helper struct to synchronize fields at the end of a loop.
Definition at line 21 of file FieldSync.hpp.
|
private |
Definition at line 40 of file FieldSync.hpp.
|
private |
Definition at line 17 of file FieldSync.cpp.
void insert | ( | mesh::Field & | f, |
bool | do_periodic_element_update | ||
) |
Insert a field to synchronize
do_periodic_element_update | Sum together periodic entries, i.e. after an element loop that updates nodal values |
Definition at line 28 of file FieldSync.cpp.
|
static |
Singleton implementation.
Definition at line 21 of file FieldSync.cpp.
void synchronize | ( | ) |
Sync fields and clear the list.
Definition at line 33 of file FieldSync.cpp.
|
private |
Definition at line 41 of file FieldSync.hpp.
Send comments to: COOLFluiD Web Admin |