SheafSystem  0.0.0.0
fiber_bundle::uniform_eval_family Class Reference

A family of evaluators for uniform meshes. More...

#include <uniform_eval_family.h>

Inheritance diagram for fiber_bundle::uniform_eval_family:
fiber_bundle::eval_family sheaf::any

Public Member Functions

 uniform_eval_family (const uniform_eval_family &xother)
 Copy constructor. More...
 
virtual uniform_eval_familyclone () const
 Virtual constructor; makes a new instance of the same type as this. More...
 
virtual ~uniform_eval_family ()
 Destructor. More...
 
virtual bool invariant () const
 Class invariant. More...
 
virtual bool is_ancestor_of (const any *xother) const
 Conformance test; true if other conforms to this. More...
 
 uniform_eval_family (const namespace_poset &xname_space)
 Creates an instance containing all the uniform evaluators defined in the namespace xname_space. More...
 
virtual const std::string & class_name () const
 The name of this family. More...
 
virtual void initialize (const namespace_poset &xname_space)
 Initializes this to contain members for name space xname_space. More...
 
virtual bool dofs_are_values () const
 True if the dofs used by the members of this family are section values, that is, the evaluators are interpolation functions. More...
 
virtual bool extrema_are_dofs () const
 True if the extrema (minima or maxima) of the members of this family occur at the discretization points. More...
 
- Public Member Functions inherited from fiber_bundle::eval_family
 eval_family (const eval_family &xother)
 Copy constructor. More...
 
virtual ~eval_family ()
 Destructor. More...
 
section_evaluatormember (pod_index_type xtype_id) const
 The evaluator associated with cell type xtype_id. Note that the result may be void. More...
 
template<typename S >
S * member (pod_index_type xtype_id) const
 The evaluator associated with cell type xtype_id. Note that the result may be void. More...
 
section_evaluatormember (const poset_state_handle &xhost, pod_index_type xhub_id)
 The evaluator associated with the cell with hub id xhub_id in host xhost. Note that the result may be void. More...
 
section_evaluatormember (const poset_state_handle &xhost, const scoped_index &xid)
 The evaluator associated with the cell with id xid in host xhost. Note that the result may be void. More...
 
template<typename S >
S * member (const poset_state_handle &xhost, pod_index_type xhub_id)
 The evaluator associated with the cell with hub id xhub_id in host xhost. Note that the result may be void. More...
 
template<typename S >
S * member (const poset_state_handle &xhost, const scoped_index &xd)
 The evaluator associated with the cell with id xid in host xhost. Note that the result may be void. More...
 
size_type size () const
 The number of members of this family. More...
 
bool is_initialized () const
 True if this has been populated with members. More...
 
template<typename S >
S * member (pod_index_type xtype_id)
 
- 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...
 

Static Public Member Functions

static const std::string & static_class_name ()
 The name of this class of families. More...
 
- Static Public Member Functions inherited from fiber_bundle::eval_family
static eval_familynew_family (const std::string &xname)
 Creates an instance of the evaluator family associated with name xname. More...
 
static eval_familynew_family (const std::string &xname, const namespace_poset &xname_space)
 Creates an instance of the evaluator family associated with name xname and initialized with name space, xname_space. More...
 
static void insert_family_prototype (eval_family *xprototype)
 Inserts xprototype in family_factory(). More...
 
static factory< eval_family > & family_factory ()
 A factory for making eval_family objects. More...
 

Friends

class eval_family
 

Additional Inherited Members

- Protected Types inherited from fiber_bundle::eval_family
typedef auto_block< section_evaluator *, zero_block_initialization_policy< section_evaluator * > > members_type
 Type of storage for members. More...
 
- Protected Member Functions inherited from fiber_bundle::eval_family
 eval_family ()
 Default constructor. More...
 
void initialize_members (size_type xmembers_ub)
 Initialize storage for the members. More...
 
- Protected Member Functions inherited from sheaf::any
 any ()
 default constructor More...
 
- Protected Attributes inherited from fiber_bundle::eval_family
members_type _members
 The members of the family. More...
 
bool _is_initialized
 True if this has been populated with members. More...
 

Detailed Description

A family of evaluators for uniform meshes.

Definition at line 37 of file uniform_eval_family.h.

Constructor & Destructor Documentation

◆ uniform_eval_family() [1/2]

fiber_bundle::uniform_eval_family::uniform_eval_family ( const uniform_eval_family xother)

Copy constructor.

Postcondition

Definition at line 44 of file uniform_eval_family.cc.

References clone(), and invariant().

◆ ~uniform_eval_family()

fiber_bundle::uniform_eval_family::~uniform_eval_family ( )
virtual

Destructor.

Definition at line 87 of file uniform_eval_family.cc.

References invariant().

Referenced by clone().

◆ uniform_eval_family() [2/2]

fiber_bundle::uniform_eval_family::uniform_eval_family ( const namespace_poset xname_space)

Creates an instance containing all the uniform evaluators defined in the namespace xname_space.

Precondition
  • xname_space.state_is_read_accessible()
  • xname_space.contains_poset(base_space_member::prototypes_poset_name())
Postcondition

Definition at line 164 of file uniform_eval_family.cc.

References class_name(), sheaf::namespace_poset::contains_poset(), initialize(), invariant(), fiber_bundle::base_space_member::prototypes_poset_name(), and sheaf::read_write_monitor_handle::state_is_read_accessible().

Member Function Documentation

◆ class_name()

const std::string & fiber_bundle::uniform_eval_family::class_name ( ) const
virtual

The name of this family.

Postcondition
  • !result.empty()

Implements fiber_bundle::eval_family.

Definition at line 185 of file uniform_eval_family.cc.

References static_class_name().

Referenced by uniform_eval_family().

◆ clone()

fiber_bundle::uniform_eval_family * fiber_bundle::uniform_eval_family::clone ( ) const
virtual

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

Postcondition
  • result != 0
  • is_same_type(result)

Reimplemented from fiber_bundle::eval_family.

Definition at line 64 of file uniform_eval_family.cc.

References sheaf::any::is_same_type(), and ~uniform_eval_family().

Referenced by uniform_eval_family().

◆ dofs_are_values()

bool fiber_bundle::uniform_eval_family::dofs_are_values ( ) const
virtual

True if the dofs used by the members of this family are section values, that is, the evaluators are interpolation functions.

Implements fiber_bundle::eval_family.

Definition at line 277 of file uniform_eval_family.cc.

References extrema_are_dofs().

Referenced by initialize().

◆ extrema_are_dofs()

bool fiber_bundle::uniform_eval_family::extrema_are_dofs ( ) const
virtual

True if the extrema (minima or maxima) of the members of this family occur at the discretization points.

Implements fiber_bundle::eval_family.

Definition at line 285 of file uniform_eval_family.cc.

References fiber_bundle::eval_family::eval_family(), and invariant().

Referenced by dofs_are_values().

◆ initialize()

◆ invariant()

bool fiber_bundle::uniform_eval_family::invariant ( ) const
virtual

◆ is_ancestor_of()

bool fiber_bundle::uniform_eval_family::is_ancestor_of ( const any xother) const
virtual

Conformance test; true if other conforms to this.

Precondition
  • xother != 0

Reimplemented from fiber_bundle::eval_family.

Definition at line 138 of file uniform_eval_family.cc.

Referenced by invariant().

◆ static_class_name()

const std::string & fiber_bundle::uniform_eval_family::static_class_name ( )
static

The name of this class of families.

Postcondition
  • !result.empty()

Definition at line 205 of file uniform_eval_family.cc.

References initialize().

Referenced by class_name().


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