SheafSystem  0.0.0.0
fields::section_pusher_push_action Class Referenceabstract

Abstract functor to compute the dofs at a destination discretization point. More...

#include <section_pusher_push_action.h>

Inheritance diagram for fields::section_pusher_push_action:
sheaf::any fields::average_push_action fields::constant_push_action fields::copy_push_action

SECTION_PUSHER_PUSH_ACTION FACET

int _dst_df
 The fiber dimension of the destination. More...
 
virtual ~section_pusher_push_action ()
 Destructor. More...
 
int dst_df ()
 The fiber dimension of the destination. More...
 
virtual void operator() (pullback_map::iterator &xitr, sec_vd &xdst, block< sec_vd_dof_type > &xdst_dofs)=0
 Computes xdst_dofs using xitr and the dofs already in xdst, as needed. More...
 
virtual void initialize (sec_vd &xdst)
 Initializes xdst as needed. More...
 
virtual void finalize (sec_vd &xdst)
 Finalizes xdst as needed. More...
 
 section_pusher_push_action ()
 Default constructor. More...
 
 section_pusher_push_action (int xdst_df)
 Creates an instance with dst_df() == xdst_df. More...
 

ANY FACET

virtual bool is_ancestor_of (const any *xother) const
 Conformance test; true if other conforms to this. More...
 
virtual section_pusher_push_actionclone () const =0
 Virtual constructor, makes a new instance of the same type as this. More...
 
virtual section_pusher_push_actionoperator= (const section_pusher_push_action &xother)
 Assignment operator. More...
 
virtual bool invariant () const
 Class invariant. More...
 

Additional Inherited Members

- Public Member Functions inherited from sheaf::any
bool is_same_type (const any *other) const
 True if other is the same type as this. More...
 
virtual ~any ()
 Destructor. More...
 
bool invariant_check () const
 True if invariant checking is enabled. More...
 
void enable_invariant_check () const
 Enable invariant checking. More...
 
void disable_invariant_check () const
 Disable invariant check. Intended for preventing recursive calls to invariant and for suppressing invariant checking during multi-phase initialization. More...
 
int disable_invariance_check_request_depth () const
 Number of times disable_invariant_check has been called without matching call to enable_invariant_check. More...
 
- Protected Member Functions inherited from sheaf::any
 any ()
 default constructor More...
 

Detailed Description

Abstract functor to compute the dofs at a destination discretization point.

Definition at line 56 of file section_pusher_push_action.h.

Constructor & Destructor Documentation

◆ ~section_pusher_push_action()

fields::section_pusher_push_action::~section_pusher_push_action ( )
virtual

Destructor.

Definition at line 38 of file section_pusher_push_action.cc.

References dst_df().

◆ section_pusher_push_action() [1/2]

fields::section_pusher_push_action::section_pusher_push_action ( )
protected

Default constructor.

Postcondition

Definition at line 129 of file section_pusher_push_action.cc.

Referenced by finalize().

◆ section_pusher_push_action() [2/2]

fields::section_pusher_push_action::section_pusher_push_action ( int  xdst_df)
protected

Creates an instance with dst_df() == xdst_df.

Precondition
  • xdst_df >= 0
Postcondition

Definition at line 150 of file section_pusher_push_action.cc.

References is_ancestor_of().

Member Function Documentation

◆ clone()

fields::section_pusher_push_action * fields::section_pusher_push_action::clone ( ) const
pure virtual

Virtual constructor, makes a new instance of the same type as this.

Is Abstract.

Postcondition
  • result != 0
  • is_same_type(result)

Reimplemented from sheaf::any.

Implemented in fields::average_push_action, fields::constant_push_action, and fields::copy_push_action.

Definition at line 200 of file section_pusher_push_action.cc.

References operator=().

Referenced by is_ancestor_of().

◆ dst_df()

◆ finalize()

void fields::section_pusher_push_action::finalize ( sec_vd xdst)
virtual

Finalizes xdst as needed.

Precondition
  • xdst.state_is_read_write_accessible()

Reimplemented in fields::average_push_action.

Definition at line 107 of file section_pusher_push_action.cc.

References section_pusher_push_action(), and sheaf::read_write_monitor_handle::state_is_read_write_accessible().

Referenced by initialize().

◆ initialize()

void fields::section_pusher_push_action::initialize ( sec_vd xdst)
virtual

Initializes xdst as needed.

Precondition
  • xdst.state_is_read_write_accessible()

Reimplemented in fields::average_push_action.

Definition at line 87 of file section_pusher_push_action.cc.

References finalize(), and sheaf::read_write_monitor_handle::state_is_read_write_accessible().

Referenced by operator()().

◆ invariant()

bool fields::section_pusher_push_action::invariant ( ) const
virtual

◆ is_ancestor_of()

bool fields::section_pusher_push_action::is_ancestor_of ( const any xother) const
virtual

Conformance test; true if other conforms to this.

Precondition
  • xother != 0

Reimplemented from sheaf::any.

Reimplemented in fields::average_push_action, fields::constant_push_action, and fields::copy_push_action.

Definition at line 180 of file section_pusher_push_action.cc.

References clone().

Referenced by section_pusher_push_action().

◆ operator()()

void fields::section_pusher_push_action::operator() ( pullback_map::iterator &  xitr,
sec_vd xdst,
block< sec_vd_dof_type > &  xdst_dofs 
)
pure virtual

Computes xdst_dofs using xitr and the dofs already in xdst, as needed.

Precondition
  • xdst.state_is_read_accessible()
Is Abstract.

Implemented in fields::average_push_action, fields::constant_push_action, and fields::copy_push_action.

Definition at line 63 of file section_pusher_push_action.cc.

References fiber_bundle::section_space_schema_member::df(), initialize(), fiber_bundle::sec_rep_space_member::schema(), sheaf::read_write_monitor_handle::state_is_read_accessible(), and sheaf::auto_block< T, S >::ub().

Referenced by dst_df().

◆ operator=()

fields::section_pusher_push_action & fields::section_pusher_push_action::operator= ( const section_pusher_push_action xother)
virtual

Assignment operator.

Reimplemented in fields::average_push_action, fields::constant_push_action, and fields::copy_push_action.

Definition at line 222 of file section_pusher_push_action.cc.

References _dst_df, and invariant().

Referenced by clone().

Member Data Documentation

◆ _dst_df


The documentation for this class was generated from the following files: