SheafSystem
0.0.0.0
|
A family of compatible local_field_refiners, one for each member of some family of cell types; a map from cell type to field_type. More...
#include <field_refiner_family.h>
FIELD_REFINER_FAMILY FACET | |
block< local_field_refiner * > | _members |
The members of the family. More... | |
field_refinement_policy * | _policy |
The refinement policy for this family. More... | |
index_space_handle * | _cell_type_id_space |
The id space for base space cell type ids. More... | |
bool | _is_initialized |
True if this has been populated with members. More... | |
static field_refiner_family * | new_family (const std::string &xname) |
Creates an instance of the refiner family associated with name xname. More... | |
static factory< field_refiner_family > & | family_factory () |
A factory for making field_refiner_family objects. More... | |
field_refiner_family (const field_refiner_family &xother) | |
Copy constructor. More... | |
virtual | ~field_refiner_family () |
Destructor. More... | |
virtual const std::string & | class_name () const =0 |
The name of this family. More... | |
local_field_refiner * | member (pod_index_type xtype_id) const |
The evaluator associated with cell type xtype_id. Note that the result may be void. More... | |
size_type | size () const |
The number of members of this family. More... | |
field_refinement_policy & | policy () const |
The refinement policy for this family. More... | |
virtual void | initialize (const base_space_poset &xbase_space, const field_refinement_policy &xpolicy)=0 |
Initializes this to contain members for base space xbase_space and using policy xpolicy. More... | |
bool | is_initialized () const |
True if this has been populated with members. More... | |
field_refiner_family () | |
Default constructor. More... | |
ANY FACET | |
virtual field_refiner_family * | clone () const |
Virtual constructor; makes a new instance of the same type as this. 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... | |
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... | |
A family of compatible local_field_refiners, one for each member of some family of cell types; a map from cell type to field_type.
Definition at line 69 of file field_refiner_family.h.
fields::field_refiner_family::field_refiner_family | ( | const field_refiner_family & | xother | ) |
Copy constructor.
Definition at line 64 of file field_refiner_family.cc.
References _cell_type_id_space, _is_initialized, _members, _policy, fields::field_refinement_policy::clone(), fields::local_field_refiner::clone(), sheaf::index_space_handle::get_id_space(), is_initialized(), and ~field_refiner_family().
|
virtual |
Destructor.
Definition at line 103 of file field_refiner_family.cc.
References class_name().
Referenced by field_refiner_family().
|
protected |
Default constructor.
Definition at line 302 of file field_refiner_family.cc.
References clone(), and invariant().
Referenced by is_initialized(), and new_family().
|
pure virtual |
The name of this family.
Is Abstract.
Implemented in fields::edge_centered_refiner_family, fields::barycentric_refiner_family, and fields::zone_centered_refiner_family.
Definition at line 137 of file field_refiner_family.cc.
References member().
Referenced by new_family(), and ~field_refiner_family().
|
virtual |
Virtual constructor; makes a new instance of the same type as this.
Is Abstract.
Reimplemented from sheaf::any.
Reimplemented in fields::barycentric_refiner_family, fields::edge_centered_refiner_family, and fields::zone_centered_refiner_family.
Definition at line 325 of file field_refiner_family.cc.
References invariant(), and sheaf::any::is_same_type().
Referenced by field_refiner_family().
|
static |
A factory for making field_refiner_family objects.
Definition at line 221 of file field_refiner_family.cc.
References initialize().
Referenced by fields::field_refiner::field_refiner(), policy(), fields::zone_centered_refiner_family::static_class_name(), fields::barycentric_refiner_family::static_class_name(), and fields::edge_centered_refiner_family::static_class_name().
|
pure virtual |
Initializes this to contain members for base space xbase_space and using policy xpolicy.
Implemented in fields::edge_centered_refiner_family, fields::barycentric_refiner_family, and fields::zone_centered_refiner_family.
Definition at line 242 of file field_refiner_family.cc.
References fields::field_refinement_policy::clone(), sheaf::poset_state_handle::get_read_access(), is_initialized(), sheaf::namespace_poset::member_poset(), sheaf::poset_state_handle::name_space(), and sheaf::read_write_monitor_handle::state_is_read_accessible().
Referenced by family_factory(), fields::field_refiner::field_refiner(), fields::zone_centered_refiner_family::initialize(), fields::barycentric_refiner_family::initialize(), and fields::edge_centered_refiner_family::initialize().
|
virtual |
Class invariant.
Reimplemented from sheaf::any.
Reimplemented in fields::barycentric_refiner_family, fields::edge_centered_refiner_family, and fields::zone_centered_refiner_family.
Definition at line 347 of file field_refiner_family.cc.
References sheaf::any::disable_invariant_check(), sheaf::any::enable_invariant_check(), sheaf::any::invariant(), sheaf::any::invariant_check(), and is_ancestor_of().
Referenced by clone(), field_refiner_family(), fields::zone_centered_refiner_family::invariant(), fields::edge_centered_refiner_family::invariant(), and fields::barycentric_refiner_family::invariant().
|
virtual |
Conformance test; true if other conforms to this.
Reimplemented from sheaf::any.
Reimplemented in fields::barycentric_refiner_family, fields::edge_centered_refiner_family, and fields::zone_centered_refiner_family.
Definition at line 379 of file field_refiner_family.cc.
Referenced by invariant().
bool fields::field_refiner_family::is_initialized | ( | ) | const |
True if this has been populated with members.
Definition at line 293 of file field_refiner_family.cc.
References field_refiner_family().
Referenced by field_refiner_family(), fields::zone_centered_refiner_family::initialize(), fields::barycentric_refiner_family::initialize(), fields::edge_centered_refiner_family::initialize(), initialize(), and new_family().
fields::local_field_refiner * fields::field_refiner_family::member | ( | pod_index_type | xtype_id | ) | const |
The evaluator associated with cell type xtype_id. Note that the result may be void.
Definition at line 158 of file field_refiner_family.cc.
References size().
Referenced by class_name(), fields::zone_centered_refiner_family::initialize(), fields::barycentric_refiner_family::initialize(), fields::edge_centered_refiner_family::initialize(), and fields::field_refiner::refine().
|
static |
Creates an instance of the refiner family associated with name xname.
Definition at line 40 of file field_refiner_family.cc.
References class_name(), field_refiner_family(), and is_initialized().
Referenced by fields::field_refiner::field_refiner().
fields::field_refinement_policy & fields::field_refiner_family::policy | ( | ) | const |
The refinement policy for this family.
Definition at line 201 of file field_refiner_family.cc.
References family_factory().
Referenced by fields::zone_centered_refiner_family::initialize(), fields::barycentric_refiner_family::initialize(), fields::edge_centered_refiner_family::initialize(), fields::field_refiner::policy(), and size().
sheaf::size_type fields::field_refiner_family::size | ( | ) | const |
The number of members of this family.
Definition at line 181 of file field_refiner_family.cc.
References policy().
Referenced by fields::zone_centered_refiner_family::initialize(), fields::barycentric_refiner_family::initialize(), fields::edge_centered_refiner_family::initialize(), and member().
|
protected |
The id space for base space cell type ids.
Definition at line 154 of file field_refiner_family.h.
Referenced by field_refiner_family().
|
protected |
True if this has been populated with members.
Definition at line 159 of file field_refiner_family.h.
Referenced by field_refiner_family().
|
protected |
The members of the family.
Definition at line 144 of file field_refiner_family.h.
Referenced by field_refiner_family(), fields::zone_centered_refiner_family::initialize(), fields::barycentric_refiner_family::initialize(), and fields::edge_centered_refiner_family::initialize().
|
protected |
The refinement policy for this family.
Definition at line 149 of file field_refiner_family.h.
Referenced by field_refiner_family().