SheafSystem  0.0.0.0
fields::copy_base_space_map_push_action Class Reference

Functor to compute the dofs at a destination discretization point by copying the source value to the dst dofs. More...

#include <copy_base_space_map_push_action.h>

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

COPY_BASE_SPACE_MAP_PUSH_ACTION FACET

 copy_base_space_map_push_action ()
 Default constructor. More...
 
virtual ~copy_base_space_map_push_action ()
 Destructor. More...
 

BASE_SPACE_MAP_PUSH_ACTION FACET

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. More...
 

ANY FACET

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

Additional Inherited Members

- Public Member Functions inherited from fields::base_space_map_push_action
virtual ~base_space_map_push_action ()
 Destructor. 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...
 
- 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 fields::base_space_map_push_action
 base_space_map_push_action ()
 Default constructor. More...
 
- Protected Member Functions inherited from sheaf::any
 any ()
 default constructor More...
 

Detailed Description

Functor to compute the dofs at a destination discretization point by copying the source value to the dst dofs.

Definition at line 39 of file copy_base_space_map_push_action.h.

Constructor & Destructor Documentation

◆ copy_base_space_map_push_action()

fields::copy_base_space_map_push_action::copy_base_space_map_push_action ( )

Default constructor.

Postcondition

Definition at line 38 of file copy_base_space_map_push_action.cc.

References ~copy_base_space_map_push_action().

◆ ~copy_base_space_map_push_action()

fields::copy_base_space_map_push_action::~copy_base_space_map_push_action ( )
virtual

Destructor.

Definition at line 58 of file copy_base_space_map_push_action.cc.

References operator()().

Referenced by copy_base_space_map_push_action().

Member Function Documentation

◆ clone()

fields::copy_base_space_map_push_action * fields::copy_base_space_map_push_action::clone ( ) const
virtual

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

Postcondition
  • result != 0
  • is_same_type(result)

Implements fields::base_space_map_push_action.

Definition at line 147 of file copy_base_space_map_push_action.cc.

References operator=().

Referenced by is_ancestor_of().

◆ invariant()

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

Class invariant.

Invariant

Reimplemented from fields::base_space_map_push_action.

Definition at line 213 of file copy_base_space_map_push_action.cc.

Referenced by operator=().

◆ is_ancestor_of()

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

Conformance test; true if other conforms to this.

Precondition
  • xother != 0

Reimplemented from fields::base_space_map_push_action.

Definition at line 127 of file copy_base_space_map_push_action.cc.

References clone().

Referenced by operator()().

◆ operator()()

void fields::copy_base_space_map_push_action::operator() ( pullback_map::iterator &  xitr,
block< sec_vd *> &  xoutputs,
block< block< sec_vd_dof_type > * > &  xout_dofs 
)
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()
Postcondition
  • -unexecutable( "xout_dofs unchanged" )

Implements fields::base_space_map_push_action.

Definition at line 83 of file copy_base_space_map_push_action.cc.

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

Referenced by ~copy_base_space_map_push_action().

◆ operator=() [1/2]

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

Assignment operator.

Precondition
  • is_ancestor_of(&xother)
Not Implemented.
Postcondition

Reimplemented from fields::base_space_map_push_action.

Definition at line 170 of file copy_base_space_map_push_action.cc.

Referenced by clone().

◆ operator=() [2/2]

fields::copy_base_space_map_push_action & fields::copy_base_space_map_push_action::operator= ( const copy_base_space_map_push_action xother)

Assignment operator.

Postcondition

Definition at line 192 of file copy_base_space_map_push_action.cc.

References invariant().


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