9 #ifndef stk_linsys_DofMapper_hpp 10 #define stk_linsys_DofMapper_hpp 14 #include <stk_util/parallel/Parallel.hpp> 15 #include <stk_mesh/base/Field.hpp> 16 #include <stk_mesh/base/BulkData.hpp> 18 #include <stk_linsys/FieldIdMap.hpp> 19 #include <stk_linsys/FeiBaseIncludes.hpp> 55 DofMapper(MPI_Comm comm,
bool create_reverse_mappings=
true);
73 stk_classic::mesh::EntityRank ent_type,
104 stk_classic::mesh::EntityId ent_id,
106 int offset_into_field=0);
114 stk_classic::mesh::EntityRank& ent_type,
115 stk_classic::mesh::EntityId& ent_id,
117 int& offset_into_field)
const;
127 const FieldIdMap& get_FieldIdMap()
const {
return m_field_id_map; }
129 FieldIdMap& get_FieldIdMap() {
return m_field_id_map; }
138 fei::SharedPtr<fei::VectorSpace> m_fei_vecspace;
139 bool m_reverse_mappings_enabled;
140 fei::ReverseMapper* m_fei_reversemap;
Field base class with an anonymous data type and anonymous multi-dimension.
const fei::SharedPtr< fei::VectorSpace > get_fei_VectorSpace() const
void get_dof(int global_index, stk_classic::mesh::EntityRank &ent_type, stk_classic::mesh::EntityId &ent_id, const stk_classic::mesh::FieldBase *&field, int &offset_into_field) const
This is a class for selecting buckets based on a set of meshparts and set logic.
std::map< const stk_classic::mesh::FieldBase *, int > FieldIdMap
fei::SharedPtr< fei::VectorSpace > get_fei_VectorSpace()
int get_field_id(const stk_classic::mesh::FieldBase &field) const
bool reverse_mappings_enabled() const
Manager for an integrated collection of entities, entity relations, and buckets of field data...
void add_dof_mappings(const stk_classic::mesh::BulkData &mesh_bulk, const stk_classic::mesh::Selector &selector, stk_classic::mesh::EntityRank ent_type, const stk_classic::mesh::FieldBase &field)
int get_global_index(stk_classic::mesh::EntityRank ent_type, stk_classic::mesh::EntityId ent_id, stk_classic::mesh::FieldBase &field, int offset_into_field=0)
DofMapper(MPI_Comm comm, bool create_reverse_mappings=true)