21 #ifndef PULLBACK_MAP_H 22 #define PULLBACK_MAP_H 24 #ifndef SHEAF_DLL_SPEC_H 25 #include "SheafSystem/sheaf_dll_spec.h" 28 #ifndef CHART_POINT_3D_H 29 #include "SheafSystem/chart_point_3d.h" 32 #ifndef STD_UNORDERED_SET_H 33 #include "SheafSystem/std_unordered_set.h" 93 domain_pt = xdomain_pt;
131 unordered::unordered_multiset<pullback_map_entry, discretization_hash> {};
144 #endif // ifndef PULLBACK_MAP_H size_t operator()(const pullback_map_entry &x) const
Hash the chart id associated with the map entry x.
A point in a 3D chart space.
Namespace for fields component of sheaf system.
void put_chart_id(pod_index_type xchart)
Sets chart_id() to xchart_id.
pod_index_type chart_id() const
The id of the chart this point is in.
A hash function class for discretization map entries.
An index within the external ("client") scope of a given id space.
pullback_map_entry()
Default constructor; creates an instance with unspecied values.
SHEAF_DLL_SPEC std::ostream & operator<<(std::ostream &xos, const field_at0 &xfield)
Inserts field_at0 xfield into ostream xos.
An entry in a discretization map.
chart_point_3d domain_pt
The location of the discretization member.
pullback_map_entry(const scoped_index &xdisc_id, chart_point_3d xdomain_pt)
Creates an instance with disc_id == xdisc_id and domain_pt == xdomain_pt.
int_type pod_index_type
The plain old data index type.
bool operator==(const pullback_map_entry &xother) const
True if domain_pt.chart == xother.domain_pt.chart; equality operator for pullback map...
A map from members of a discretization subposet to points in a base space.
scoped_index disc_id
The id of a discretization member.
pullback_map_entry(pod_index_type xchart_id)
Creates an instance with domain_pt().chart_id == xchart_id and other values uninitalized.
pullback_map_entry(const scoped_index &xchart_id)
Creates an instance with domain_pt().chart_id == xchart_id.hub_pod() and other values uninitalized...
Namespace for the fiber_bundles component of the sheaf system.
pod_type hub_pod() const
The pod value of this mapped to the unglued hub id space.