21 #include "SheafSystem/body_pusher_pullback_action.h" 23 #include "SheafSystem/assert_contract.h" 24 #include "SheafSystem/block.h" 25 #include "SheafSystem/error_message.h" 26 #include "SheafSystem/sec_ed_invertible.h" 42 : _domain_coords(xglobal_coords),
61 _domain_pts.reserve(32);
104 _domain_pts.set_ct(0);
109 #ifdef DIAGNOSTIC_OUTPUT 111 cout <<
"in body pusher pb action: disc id = " << xdisc_id;
113 cout <<
"\tcoords: ";
114 for(
int i=0; i< xcoords.
ct(); ++i)
116 cout << setw(10) << xcoords[i];
119 cout <<
"\tpb ct = " << _domain_pts.ct() << endl;
122 for(
size_type i=0; i<_domain_pts.ct(); ++i)
126 #ifdef DIAGNOSTIC_OUTPUT 128 cout <<
"\tpb map entry: " << _pb << endl;
index_type ub() const
The upper bound on the storage array. The number of items current allocated in the storage array...
size_type ct() const
The number of items currently in use.
Namespace for fields component of sheaf system.
bool state_is_read_accessible() const
True if this is attached and if the state is accessible for read or access control is disabled...
virtual void initialize_point_locator(bool xauto_access)
Initializes point locater search structure using default values.
body_pusher_pullback_action(geometry::sec_ed_invertible &xglobal_coords, pb_map_type &xmap)
Creates an instance using global coordinates xdomain_coords and pullback map xmap.
bool is_invertible() const
True if this can be inverted.
virtual void operator()(const scoped_index &xdisc_id, block< sec_vd_value_type > &xglobal_coords)
The push action.
An abstract invertible section of a fiber bundle with a d-dimensional base space and a d-dimensional ...
virtual void all_points_at_value_ua(const sec_vd_value_type *xvalue, size_type xvalue_ub, block< chart_point_3d > &xresult)
Finds all chart points at which this has value xvalue and appends them to xresult. Note that charts overlap at their boundaries and hence if xvalue lies on a boundary it is contained in more than one chart.
pointer_type base() const
The underlying storage array.
An index within the external ("client") scope of a given id space.
unsigned long size_type
An unsigned integral type used to represent sizes and capacities.
chart_point_3d domain_pt
The location of the discretization member.
virtual ~body_pusher_pullback_action()
Destructor.
A map from members of a discretization subposet to points in a base space.
scoped_index disc_id
The id of a discretization member.
geometry::sec_ed_invertible & domain_coords()
The global coordinates of the domain.