21 #include "SheafSystem/copy_base_space_map_push_action.h" 23 #include "SheafSystem/assert_contract.h" 24 #include "SheafSystem/block.h" 25 #include "SheafSystem/error_message.h" 26 #include "SheafSystem/sec_vd.h" 87 #ifdef DIAGNOSTIC_OUTPUT 88 post_information_message(
"Entering copy_base_space_map_push_action::operator()");
93 require(xoutputs.
ct() > 0);
94 require(xout_dofs.ct() >= xoutputs.
ct());
95 require_for_all(i, 0, xoutputs.
ct(), xoutputs[i]->state_is_read_accessible());
96 require_for_all(i, 0, xoutputs.
ct(), xout_dofs[i]->ub() >= xoutputs[i]->schema().df());
106 ensure(unexecutable(
"xout_dofs unchanged"));
110 #ifdef DIAGNOSTIC_OUTPUT 112 post_information_message(
"Leaving copy_base_space_map_push_action::operator()");
132 require(xother != 0);
160 ensure(is_same_type(result));
175 require(is_ancestor_of(&xother));
217 if(invariant_check())
221 disable_invariant_check();
225 invariance(base_space_map_push_action::invariant());
231 enable_invariant_check();
virtual ~copy_base_space_map_push_action()
Destructor.
size_type ct() const
The number of items currently in use.
Namespace for fields component of sheaf system.
virtual copy_base_space_map_push_action & operator=(const base_space_map_push_action &xother)
Assignment operator.
virtual copy_base_space_map_push_action * clone() const
Virtual constructor, makes a new instance of the same type as this.
Abstract base class with useful features for all objects.
virtual bool invariant() const
Class invariant.
virtual void operator()(pullback_map::iterator &xitr, block< sec_vd *> &xoutputs, block< block< sec_vd_dof_type > * > &xout_dofs)
Computes xout_dofs using xitr and the dofs already in xoutputs, as needed.
copy_base_space_map_push_action()
Default constructor.
Abstract functor to compute the dofs at a destination discretization point.
Functor to compute the dofs at a destination discretization point by copying the source value to the ...
virtual bool is_ancestor_of(const any *xother) const
Conformance test; true if other conforms to this.
An auto_block with a no-initialization initialization policy.