SheafSystem  0.0.0.0
fields::base_space_map_push_action Class Referenceabstract

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

#include <base_space_map_push_action.h>

Inheritance diagram for fields::base_space_map_push_action:
sheaf::any fields::average_base_space_map_push_action fields::constant_base_space_map_push_action fields::copy_base_space_map_push_action

BASE_SPACE_MAP_PUSH_ACTION FACET

virtual ~base_space_map_push_action ()
 Destructor. More...
 
virtual void operator() (pullback_map::iterator &xitr, block< sec_vd *> &xoutputs, block< block< sec_vd_dof_type > * > &xout_dofs)=0
 Computes xout_dofs using xitr and the dofs already in xoutputs, as needed. More...
 
virtual void initialize (block< sec_vd *> &xoutputs)
 Initializes outputs as needed. More...
 
virtual void finalize (block< sec_vd *> &xoutputs)
 Finalizes outputs as needed. More...
 
 base_space_map_push_action ()
 Default constructor. More...
 

ANY FACET

virtual bool is_ancestor_of (const any *other) const
 Conformance test; true if other conforms to this. More...
 
virtual base_space_map_push_actionclone () const =0
 Virtual constructor, makes a new instance of the same type as this. More...
 
virtual base_space_map_push_actionoperator= (const base_space_map_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 base_space_map_push_action.h.

Constructor & Destructor Documentation

◆ ~base_space_map_push_action()

fields::base_space_map_push_action::~base_space_map_push_action ( )
virtual

Destructor.

Definition at line 38 of file base_space_map_push_action.cc.

References operator()().

◆ base_space_map_push_action()

fields::base_space_map_push_action::base_space_map_push_action ( )
protected

Default constructor.

Postcondition

Definition at line 125 of file base_space_map_push_action.cc.

References is_ancestor_of().

Referenced by finalize().

Member Function Documentation

◆ clone()

fields::base_space_map_push_action * fields::base_space_map_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_base_space_map_push_action, fields::constant_base_space_map_push_action, and fields::copy_base_space_map_push_action.

Definition at line 170 of file base_space_map_push_action.cc.

References operator=().

Referenced by is_ancestor_of().

◆ finalize()

void fields::base_space_map_push_action::finalize ( block< sec_vd *> &  xoutputs)
virtual

Finalizes outputs as needed.

Precondition
  • xoutputs.ct() > 0
  • for(int i = ( 0 ); i < ( xoutputs.ct() ); ++ i ) xoutputs[i]->state_is_read_write_accessible()

Reimplemented in fields::average_base_space_map_push_action.

Definition at line 102 of file base_space_map_push_action.cc.

References base_space_map_push_action(), and sheaf::auto_block< T, un_block_initialization_policy< T > >::ct().

Referenced by fields::base_space_map::base_space_map(), and initialize().

◆ initialize()

void fields::base_space_map_push_action::initialize ( block< sec_vd *> &  xoutputs)
virtual

Initializes outputs as needed.

Precondition
  • xoutputs.ct() > 0
  • for(int i = ( 0 ); i < ( xoutputs.ct() ); ++ i ) xoutputs[i]->state_is_read_write_accessible()

Reimplemented in fields::average_base_space_map_push_action.

Definition at line 81 of file base_space_map_push_action.cc.

References sheaf::auto_block< T, un_block_initialization_policy< T > >::ct(), and finalize().

Referenced by fields::base_space_map::base_space_map(), and operator()().

◆ invariant()

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

◆ is_ancestor_of()

bool fields::base_space_map_push_action::is_ancestor_of ( const any other) const
virtual

Conformance test; true if other conforms to this.

Precondition
  • xother != 0

Reimplemented from sheaf::any.

Reimplemented in fields::average_base_space_map_push_action, fields::constant_base_space_map_push_action, and fields::copy_base_space_map_push_action.

Definition at line 150 of file base_space_map_push_action.cc.

References clone().

Referenced by base_space_map_push_action().

◆ operator()()

void fields::base_space_map_push_action::operator() ( pullback_map::iterator &  xitr,
block< sec_vd *> &  xoutputs,
block< block< sec_vd_dof_type > * > &  xout_dofs 
)
pure virtual

Computes xout_dofs using xitr and the dofs already in xoutputs, as needed.

Precondition
  • xoutputs.ct() > 0
  • xout_dofs.ct() >= xoutputs.ct()
  • for(int i = ( 0 ); i < ( xoutputs.ct() ); ++ i ) xoutputs[i]->state_is_read_accessible()
  • for(int i = ( 0 ); i < ( xoutputs.ct() ); ++ i ) xout_dofs[i]->ub() >= xoutputs[i]->schema().df()
Is Abstract.

Implemented in fields::average_base_space_map_push_action, fields::constant_base_space_map_push_action, and fields::copy_base_space_map_push_action.

Definition at line 56 of file base_space_map_push_action.cc.

References sheaf::auto_block< T, un_block_initialization_policy< T > >::ct(), and initialize().

Referenced by ~base_space_map_push_action().

◆ operator=()

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

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