SheafSystem  0.0.0.0
fields::constant_base_space_map_push_action Class Reference

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

#include <constant_base_space_map_push_action.h>

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

CONSTANT_BASE_SPACE_MAP_PUSH_ACTION FACET

block< block< sec_vd_dof_type > > _out_dofs
 Constant value for destination dofs. More...
 
 constant_base_space_map_push_action ()
 Default constructor; creates an instance with out_dofs.ct() == 0. More...
 
virtual ~constant_base_space_map_push_action ()
 Destructor. More...
 
block< block< sec_vd_dof_type > > & out_dofs ()
 Constant values for output dofs. 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)
 Sets xout_dofs to constant out_dofs(). More...
 

ANY FACET

virtual bool is_ancestor_of (const any *xother) const
 Conformance test; true if other conforms to this. More...
 
virtual constant_base_space_map_push_actionclone () const
 Virtual constructor, makes a new instance of the same type as this. More...
 
virtual constant_base_space_map_push_actionoperator= (const base_space_map_push_action &xother)
 Assignment operator. More...
 
constant_base_space_map_push_actionoperator= (const constant_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

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

Definition at line 42 of file constant_base_space_map_push_action.h.

Constructor & Destructor Documentation

◆ constant_base_space_map_push_action()

fields::constant_base_space_map_push_action::constant_base_space_map_push_action ( )

Default constructor; creates an instance with out_dofs.ct() == 0.

Postcondition

Definition at line 39 of file constant_base_space_map_push_action.cc.

References ~constant_base_space_map_push_action().

◆ ~constant_base_space_map_push_action()

fields::constant_base_space_map_push_action::~constant_base_space_map_push_action ( )
virtual

Destructor.

Definition at line 59 of file constant_base_space_map_push_action.cc.

References out_dofs().

Referenced by constant_base_space_map_push_action().

Member Function Documentation

◆ clone()

fields::constant_base_space_map_push_action * fields::constant_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 155 of file constant_base_space_map_push_action.cc.

References operator=().

Referenced by is_ancestor_of().

◆ invariant()

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

Class invariant.

Invariant

Reimplemented from fields::base_space_map_push_action.

Definition at line 221 of file constant_base_space_map_push_action.cc.

Referenced by operator=().

◆ is_ancestor_of()

bool fields::constant_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 135 of file constant_base_space_map_push_action.cc.

References clone().

Referenced by operator()().

◆ operator()()

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

Sets xout_dofs to constant out_dofs().

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()

Implements fields::base_space_map_push_action.

Definition at line 91 of file constant_base_space_map_push_action.cc.

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

Referenced by out_dofs().

◆ operator=() [1/2]

fields::constant_base_space_map_push_action & fields::constant_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 178 of file constant_base_space_map_push_action.cc.

Referenced by clone().

◆ operator=() [2/2]

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

Assignment operator.

Postcondition

Definition at line 200 of file constant_base_space_map_push_action.cc.

References _out_dofs, and invariant().

◆ out_dofs()

sheaf::block< sheaf::block< fiber_bundle::sec_vd_dof_type > > & fields::constant_base_space_map_push_action::out_dofs ( )

Constant values for output dofs.

Definition at line 77 of file constant_base_space_map_push_action.cc.

References operator()().

Referenced by ~constant_base_space_map_push_action().

Member Data Documentation

◆ _out_dofs

block< block<sec_vd_dof_type> > fields::constant_base_space_map_push_action::_out_dofs
protected

Constant value for destination dofs.

Definition at line 74 of file constant_base_space_map_push_action.h.

Referenced by operator=().


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