#include <dtk_adapter.h>
The DTKAdapter is used with the DTKSolutionTransfer object to adapt libmesh data to the DTK interface.
- Author
- Derek Gaston
- Date
- 2013
Definition at line 52 of file dtk_adapter.h.
◆ EvaluatorType
◆ FieldContainerType
◆ GlobalOrdinal
◆ MeshContainerType
◆ RCP_Evaluator
◆ DTKAdapter()
libMesh::DTKAdapter::DTKAdapter |
( |
Teuchos::RCP< const Teuchos::Comm< int >> |
in_comm, |
|
|
EquationSystems & |
in_es |
|
) |
| |
◆ find_sys()
System* libMesh::DTKAdapter::find_sys |
( |
std::string |
var_name | ) |
|
|
protected |
Small helper function for finding the system containing the variable.
- Note
- This implies that variable names are unique across all systems!
◆ get_element_topology()
DataTransferKit::DTK_ElementTopology libMesh::DTKAdapter::get_element_topology |
( |
const Elem * |
elem | ) |
|
|
protected |
- Returns
- The DTK ElementTopology for a given Elem.
◆ get_mesh_manager()
Teuchos::RCP<DataTransferKit::MeshManager<MeshContainerType> > libMesh::DTKAdapter::get_mesh_manager |
( |
| ) |
|
|
inline |
Definition at line 64 of file dtk_adapter.h.
References mesh_manager.
Teuchos::RCP< DataTransferKit::MeshManager< MeshContainerType > > mesh_manager
◆ get_semi_local_nodes()
void libMesh::DTKAdapter::get_semi_local_nodes |
( |
std::set< unsigned int > & |
semi_local_nodes | ) |
|
|
protected |
Helper function that fills the std::set with all of the node numbers of nodes connected to local elements.
◆ get_target_coords()
Teuchos::RCP<DataTransferKit::FieldManager<MeshContainerType> > libMesh::DTKAdapter::get_target_coords |
( |
| ) |
|
|
inline |
Definition at line 66 of file dtk_adapter.h.
References target_coords.
Teuchos::RCP< DataTransferKit::FieldManager< MeshContainerType > > target_coords
◆ get_values_to_fill()
Teuchos::RCP<DataTransferKit::FieldManager<FieldContainerType> > libMesh::DTKAdapter::get_values_to_fill |
( |
std::string |
var_name | ) |
|
◆ get_variable_evaluator()
RCP_Evaluator libMesh::DTKAdapter::get_variable_evaluator |
( |
std::string |
var_name | ) |
|
◆ update_variable_values()
void libMesh::DTKAdapter::update_variable_values |
( |
std::string |
var_name | ) |
|
After computing values for a variable in this EquationSystems we need to take those values and put them in the actual solution vector.
◆ comm
Teuchos::RCP<const Teuchos::Comm<int> > libMesh::DTKAdapter::comm |
|
protected |
◆ dim
unsigned int libMesh::DTKAdapter::dim |
|
protected |
◆ es
◆ evaluators
std::map<std::string, RCP_Evaluator> libMesh::DTKAdapter::evaluators |
|
protected |
Map of variable names to RCP_Evaluator objects.
Definition at line 110 of file dtk_adapter.h.
◆ field_evaluator
◆ mesh
const MeshBase& libMesh::DTKAdapter::mesh |
|
protected |
◆ mesh_manager
Teuchos::RCP<DataTransferKit::MeshManager<MeshContainerType> > libMesh::DTKAdapter::mesh_manager |
|
protected |
◆ num_local_nodes
unsigned int libMesh::DTKAdapter::num_local_nodes |
|
protected |
◆ target_coords
Teuchos::RCP<DataTransferKit::FieldManager<MeshContainerType> > libMesh::DTKAdapter::target_coords |
|
protected |
◆ values_to_fill
std::map<std::string, Teuchos::RCP<DataTransferKit::FieldManager<FieldContainerType> > > libMesh::DTKAdapter::values_to_fill |
|
protected |
Map of variable names to arrays to be filled by a transfer.
Definition at line 107 of file dtk_adapter.h.
◆ vertices
Teuchos::ArrayRCP<int> libMesh::DTKAdapter::vertices |
|
protected |
The documentation for this class was generated from the following file: