SheafSystem
0.0.0.0
|
A vd-valued property as a function of global coordinates. More...
#include <field_vd.h>
FIELD_VD FACET OF CLASS FIELD_VD | |
typedef void(* | property_dof_function_type) (block< sec_vd_value_type > &xglobal_coords, block< sec_vd_dof_type > &xproperty_dofs) |
The type of the function for computing the property dofs at given global coordinates. More... | |
sec_vd * | _property |
The dependent variable of this field. More... | |
sec_ed_invertible * | _coordinates |
The independent variable of this field. More... | |
base_space_member * | _base_space |
The base space of this field. More... | |
field_vd () | |
Default constructor. More... | |
field_vd (const field_vd &xother, bool xauto_access) | |
Copy constructor. More... | |
field_vd (const sec_ed &xcoordinates, const sec_vd &xproperty, bool xauto_access) | |
Create an instance with coordinates xcoordinates and property xproperty. More... | |
field_vd (namespace_poset &xns, const poset_path &xcoordinates_path, const poset_path &xproperty_path, bool xauto_access) | |
Create an instance with coordinates specified by xcoordinates_path and property specified by xproperty_path in name space xns. More... | |
virtual | ~field_vd () |
Destructor. More... | |
int | dc () const |
The dimension of the coordinates (independent variable) space. More... | |
int | dp () const |
The dimension of the property (dependent variable) space. More... | |
int | db () const |
The dimension of the base space. More... | |
namespace_poset & | name_space () const |
The namespace this resides in. More... | |
sec_ed_invertible & | coordinates () const |
The independent variable of this field. More... | |
sec_vd & | property () const |
The dependent variable of this field. More... | |
base_space_member & | base_space () const |
The base space of this field. More... | |
property_disc_iterator * | new_property_disc_iterator () const |
Iterator over property discretiation. More... | |
void | put_property_dofs (property_dof_function_type xproperty_dofs_fcn, bool xauto_access) |
Sets the dofs of property() to values computed by xproperty_dofs_fcn. More... | |
void | put_property_dofs (put_property_dofs_action &xproperty_dofs_action, bool xauto_access) |
OBSOLETE: Use put_proeprty_dofs(property_dof_function_type, bool). Sets the dofs of property() to values computed by xproperty_dofs_action. More... | |
void | print_property_dofs (std::ostream &xos, property_dof_function_type xproperty_dofs_fcn, const std::string &xtitle_text, bool xzero_specified, bool xauto_access) const |
Prints the property dofs and coordinates at the property discretization points. If xproperty_dof_fcn != 0, prints the result of xproperty_dofs_fcn at each discretization point and the difference with the actual property dofs. If xzero_specified, assume the result of xproperty_dofs_fcn is zero wherever property is zero. Intended to be useful for debugging. More... | |
bool | same_property_fiber_schema (const field_vd &xother, bool xauto_access) const |
True if this has the same property fiber as xother. More... | |
bool | same_evaluation () const |
True if the coordinates and property sections both use the same evaluation subposet. More... | |
bool | same_discretization () const |
True if the coordinates and property sections both use the same discretization subposet. More... | |
void | property_at_coordinates (const vd_lite &xcoord, vd_lite &xprop) const |
The value of the property at the given global coordinates. More... | |
void | property_at_coordinates (const block< sec_vd_value_type > &xcoord, block< sec_vd_value_type > &xprop) const |
The value of the property at the given global coordinates. More... | |
void | property_at_coordinates (sec_vd_value_type xcoord_base[], int xcoord_ct, sec_vd_value_type xprop_base[], int xprop_ub) const |
The value of the property at the given global coordinates. More... | |
subposet * | embed_property (const std::string &xresult_name, name_multimap &xresult_member_names, bool xauto_access) |
Creates a decomposition of the base space such that the value of property() is constant on each member. More... | |
static void | property_dof_function_example (block< sec_vd_value_type > &xglobal_coords, block< sec_vd_dof_type > &xproperty_dofs) |
Example property dof function; property value is x*1000000 + y*1000 + z, intended to be easy to check field dofs for correctness. More... | |
static void | put_property_dofs (const sec_vd &xcoordinates, sec_vd &xproperty, property_dof_function_type xproperty_dofs_fcn, bool xauto_access) |
Sets the dofs of xproperty to values computed by xproperty_dofs_fcn using xcoordinates to compute the coordinates at the discretization points. More... | |
static void | put_property_dofs (const sec_vd &xcoordinates, sec_vd &xproperty, put_property_dofs_action &xproperty_dofs_action, bool xauto_access) |
Sets the dofs of xproperty to values computed by xproperty_dofs_fcn using xcoordinates to compute the coordinates at the discretization points. More... | |
static void | delete_field_spaces (field_vd *xfield, bool xdelete_coord_fiber, bool xdelete_prop_fiber) |
Deletes field xfield and all associated section spaces, section schema spaces, and base space, if they are no longer being used. If xdelete_coord_fiber delete the coordinate fiber space, if it is no longer beinbg used, and similarly for xdelete_prop_fiber. More... | |
field_vd (sec_vd *xproperty, sec_ed_invertible *xcoordinates, base_space_member *xbase_space) | |
Covariant constructor. More... | |
READ_WRITE_MONITOR_HANDLE FACET | |
virtual bool | is_attached () const |
True if this handle has a state associated with it. More... | |
bool | state_is_read_only_accessible () const |
True if this is attached and if the coordinates and property are accessible for read access but not for write. False is access control is disabled. More... | |
bool | state_is_not_read_only_accessible () const |
True if this is attached and if the coordinates and property are not accessible for read only access or access control is disabled. More... | |
bool | state_is_read_accessible () const |
True if this is attached and if the coordinates and property are accessible for read or access control is disabled. More... | |
bool | state_is_not_read_accessible () const |
True if this is attached and if the coordinates and property are not accessible for read or access control is disabled. More... | |
bool | state_is_read_write_accessible (bool xbase_access=false) const |
True if this is attached and if coordinates(), property() and (if xbase access) base_space() are accessible for read and write or access control is disabled. More... | |
bool | state_is_not_read_write_accessible (bool xbase_access=false) const |
True if this is not attached or if coordinates(), property() or (if xbase access) base_space() are not accessible for read and write or access control is disabled. More... | |
int | access_request_depth () const |
The number of times access has been requested and granted without being released. More... | |
virtual void | get_read_access () const |
Get read access to the state associated with this. More... | |
virtual void | get_read_write_access (bool xbase_access, bool xrelease_read_only_access) |
Get read write access to the coordinates and property sections, which implies read access to the base space. If xbase_access, get read write access to the base space as well. If release_read_only_access is requested, read only access will be released then read_write_access will be requested, finally the same level of read_access as before will be requested. More... | |
virtual void | release_access (bool xall=false) const |
Release access. If xall is true, release all levels of access. Otherwise, release one level of access. More... | |
bool | state_is_modified () const |
True if write access has been granted and released since the last call to clear_state_is_modified(). More... | |
void | clear_state_is_modified () |
Sets the state_is_modified floag to false. More... | |
static bool | access_control_disabled () |
True if access control mechanism is disabled. Default value is enabled (false) and access is controlled by the per-thread access control functions. Disabled (true) is equivalent to having read-write access at all times, irrespective of any access control requests. Synonym for read_write_monitor::access_control_disabled(). More... | |
static void | enable_access_control () |
Enables access control. Synonym for read_write_monitor::enable_access_control(). Should only be invoked once at beginning of a program, before any other SheafSystem calls. Once enabled, access control can not be disabled. More... | |
ANY FACET | |
virtual const std::string & | class_name () const |
The name of this class. More... | |
virtual bool | is_ancestor_of (const any *xother) const |
Conformance test; true if other conforms to this. More... | |
virtual field_vd * | clone () const |
Virtual constructor, makes a new instance of the same type as this. More... | |
virtual field_vd & | operator= (const field_vd &xother) |
Assignment operator. More... | |
field_vd & | operator= (const sec_vd &xsection) |
Assignment operator. More... | |
field_vd & | operator= (const vd &xfiber) |
Assignment operator. More... | |
field_vd & | operator= (const vd_lite &xfiber) |
Assignment operator. More... | |
virtual bool | invariant () const |
Class invariant. More... | |
static const std::string & | static_class_name () |
The name of this class. 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 vd-valued property as a function of global coordinates.
Definition at line 69 of file field_vd.h.
typedef void(* fields::field_vd::property_dof_function_type) (block< sec_vd_value_type > &xglobal_coords, block< sec_vd_dof_type > &xproperty_dofs) |
The type of the function for computing the property dofs at given global coordinates.
Definition at line 155 of file field_vd.h.
fields::field_vd::field_vd | ( | ) |
Default constructor.
Definition at line 61 of file field_vd.cc.
Referenced by clone(), and field_vd().
fields::field_vd::field_vd | ( | const field_vd & | xother, |
bool | xauto_access | ||
) |
Copy constructor.
Definition at line 83 of file field_vd.cc.
References _base_space, _coordinates, _property, base_space(), geometry::sec_ed_invertible::clone(), fiber_bundle::sec_vd::clone(), fiber_bundle::base_space_member::clone(), coordinates(), field_vd(), is_attached(), and property().
fields::field_vd::field_vd | ( | const sec_ed & | xcoordinates, |
const sec_vd & | xproperty, | ||
bool | xauto_access | ||
) |
Create an instance with coordinates xcoordinates and property xproperty.
Definition at line 110 of file field_vd.cc.
References fiber_bundle::section_space_schema_member::base_space(), fiber_bundle::sec_vd::clone(), field_vd(), sheaf::poset_component::get_read_access(), sheaf::poset_component::is_attached(), sheaf::poset_component::release_access(), fiber_bundle::sec_rep_space_member::schema(), and sheaf::read_write_monitor_handle::state_is_read_accessible().
fields::field_vd::field_vd | ( | namespace_poset & | xns, |
const poset_path & | xcoordinates_path, | ||
const poset_path & | xproperty_path, | ||
bool | xauto_access | ||
) |
Create an instance with coordinates specified by xcoordinates_path and property specified by xproperty_path in name space xns.
Definition at line 156 of file field_vd.cc.
References sheaf::namespace_poset::contains_poset_member(), field_vd(), sheaf::namespace_poset::get_read_access(), sheaf::namespace_poset::member_poset(), sheaf::poset_component::release_access(), and sheaf::read_write_monitor_handle::state_is_read_accessible().
|
virtual |
Destructor.
Definition at line 231 of file field_vd.cc.
References _base_space, _coordinates, _property, dc(), fiber_bundle::sec_tuple::detach_from_state(), and sheaf::poset_component::detach_from_state().
Referenced by field_vd().
|
protected |
|
static |
True if access control mechanism is disabled. Default value is enabled (false) and access is controlled by the per-thread access control functions. Disabled (true) is equivalent to having read-write access at all times, irrespective of any access control requests. Synonym for read_write_monitor::access_control_disabled().
Definition at line 1259 of file field_vd.cc.
References sheaf::read_write_monitor::access_control_disabled(), and enable_access_control().
Referenced by delete_field_spaces(), enable_access_control(), release_access(), state_is_not_read_accessible(), state_is_not_read_only_accessible(), state_is_not_read_write_accessible(), state_is_read_accessible(), state_is_read_only_accessible(), and state_is_read_write_accessible().
int fields::field_vd::access_request_depth | ( | ) | const |
The number of times access has been requested and granted without being released.
Definition at line 1489 of file field_vd.cc.
References _coordinates, _property, sheaf::read_write_monitor_handle::access_request_depth(), get_read_access(), and is_attached().
Referenced by get_read_access(), get_read_write_access(), print_property_dofs(), fields::refining_section_pusher::push(), put_property_dofs(), fields::field_refiner::refine(), release_access(), fields::section_pusher::section_pusher(), and state_is_not_read_write_accessible().
fiber_bundle::base_space_member & fields::field_vd::base_space | ( | ) | const |
The base space of this field.
Definition at line 373 of file field_vd.cc.
References _base_space, and new_property_disc_iterator().
Referenced by fields::body_builder::build(), fields::body_builder::build_pa(), delete_field_spaces(), fields::field_factory::delete_field_spaces(), embed_property(), fields::field_at0::field_at0(), fields::field_at1::field_at1(), fields::field_at2::field_at2(), fields::field_at2_e2::field_at2_e2(), fields::field_at2_e3::field_at2_e3(), fields::field_at3::field_at3(), fields::field_at3_e3::field_at3_e3(), fields::field_atp::field_atp(), fields::field_e1::field_e1(), fields::field_e1_uniform::field_e1_uniform(), fields::field_e2::field_e2(), fields::field_e2_uniform::field_e2_uniform(), fields::field_e3::field_e3(), fields::field_e3_uniform::field_e3_uniform(), fields::field_e4::field_e4(), fields::field_ed::field_ed(), fields::field_eval_iterator::field_eval_iterator(), fields::field_jcb::field_jcb(), fields::field_jcb_e13::field_jcb_e13(), fields::field_jcb_e23::field_jcb_e23(), fields::field_jcb_e33::field_jcb_e33(), fields::field_jcb_ed::field_jcb_ed(), fields::field_met::field_met(), fields::field_met_e1::field_met_e1(), fields::field_met_e2::field_met_e2(), fields::field_met_e3::field_met_e3(), fields::field_met_ed::field_met_ed(), fields::field_refinement_buffer::field_refinement_buffer(), fields::field_st2::field_st2(), fields::field_st2_e2::field_st2_e2(), fields::field_st2_e3::field_st2_e3(), fields::field_st3::field_st3(), fields::field_st3_e3::field_st3_e3(), fields::field_st4::field_st4(), fields::field_st4_e2::field_st4_e2(), fields::field_st4_e3::field_st4_e3(), fields::field_stp::field_stp(), fields::field_t2::field_t2(), fields::field_t2_e2::field_t2_e2(), fields::field_t2_e3::field_t2_e3(), fields::field_t3::field_t3(), fields::field_t3_e3::field_t3_e3(), fields::field_t4::field_t4(), fields::field_t4_e2::field_t4_e2(), fields::field_t4_e3::field_t4_e3(), fields::field_tp::field_tp(), field_vd(), get_read_write_access(), fields::property_disc_iterator::initialize_iteration(), fields::field_e3::invariant(), fields::field_met_ed::invariant(), fields::field_e3_uniform::invariant(), fields::field_met_e3::invariant(), fields::field_e2_uniform::invariant(), fields::field_met_e2::invariant(), fields::field_st4::invariant(), fields::field_atp::invariant(), fields::field_e2::invariant(), fields::field_t4_e2::invariant(), fields::field_st2_e3::invariant(), fields::field_e4::invariant(), fields::field_stp::invariant(), fields::field_at3_e3::invariant(), fields::field_jcb_e23::invariant(), fields::field_ed::invariant(), fields::field_e1::invariant(), fields::field_jcb_e33::invariant(), fields::field_st4_e3::invariant(), fields::field_at2::invariant(), fields::field_e1_uniform::invariant(), fields::field_st4_e2::invariant(), fields::field_t4_e3::invariant(), fields::field_st2_e2::invariant(), fields::field_t3_e3::invariant(), fields::field_at2_e3::invariant(), fields::field_st3_e3::invariant(), fields::field_t2_e2::invariant(), fields::field_at3::invariant(), fields::field_tp::invariant(), fields::field_at1::invariant(), fields::field_t3::invariant(), fields::field_met_e1::invariant(), fields::field_t2_e3::invariant(), fields::field_st3::invariant(), fields::field_at2_e2::invariant(), fields::field_t4::invariant(), fields::field_jcb::invariant(), fields::field_jcb_ed::invariant(), fields::field_met::invariant(), fields::field_st2::invariant(), fields::field_t2::invariant(), fields::field_jcb_e13::invariant(), fields::field_at0::invariant(), invariant(), fields::body_factory::new_3d_uniform_bodies(), operator=(), property(), fields::property_disc_iterator_1_1::property_disc_iterator_1_1(), fields::property_disc_iterator_1_2::property_disc_iterator_1_2(), fields::property_disc_iterator_1_3::property_disc_iterator_1_3(), fields::property_disc_iterator_4_2::property_disc_iterator_4_2(), fields::property_disc_iterator_4_3::property_disc_iterator_4_3(), fields::refining_section_pusher::push(), fields::field_refiner::refine(), state_is_not_read_write_accessible(), and state_is_read_write_accessible().
|
virtual |
The name of this class.
Reimplemented in fields::field_at0, fields::field_at1, fields::field_at2, fields::field_at2_e2, fields::field_at2_e3, fields::field_at3, fields::field_at3_e3, fields::field_atp, fields::field_e1, fields::field_e1_uniform, fields::field_e2, fields::field_e2_uniform, fields::field_e3, fields::field_e3_uniform, fields::field_e4, fields::field_ed, fields::field_jcb, fields::field_jcb_e13, fields::field_jcb_e23, fields::field_jcb_e33, fields::field_jcb_ed, fields::field_met, fields::field_met_e1, fields::field_met_e2, fields::field_met_e3, fields::field_met_ed, fields::field_st2, fields::field_st2_e2, fields::field_st2_e3, fields::field_st3, fields::field_st3_e3, fields::field_st4, fields::field_st4_e2, fields::field_st4_e3, fields::field_stp, fields::field_t2, fields::field_t2_e2, fields::field_t2_e3, fields::field_t3, fields::field_t3_e3, fields::field_t4, fields::field_t4_e2, fields::field_t4_e3, and fields::field_tp.
Definition at line 1679 of file field_vd.cc.
References static_class_name().
Referenced by clear_state_is_modified().
void fields::field_vd::clear_state_is_modified | ( | ) |
Sets the state_is_modified floag to false.
Definition at line 1650 of file field_vd.cc.
References _coordinates, _property, class_name(), sheaf::read_write_monitor_handle::clear_state_is_modified(), is_attached(), and state_is_modified().
Referenced by state_is_modified().
|
virtual |
Virtual constructor, makes a new instance of the same type as this.
Reimplemented from sheaf::any.
Reimplemented in fields::field_at0, fields::field_at1, fields::field_at2, fields::field_at2_e2, fields::field_at2_e3, fields::field_at3, fields::field_at3_e3, fields::field_atp, fields::field_e1, fields::field_e1_uniform, fields::field_e2, fields::field_e2_uniform, fields::field_e3, fields::field_e3_uniform, fields::field_e4, fields::field_ed, fields::field_jcb, fields::field_jcb_e13, fields::field_jcb_e23, fields::field_jcb_e33, fields::field_jcb_ed, fields::field_met, fields::field_met_e1, fields::field_met_e2, fields::field_met_e3, fields::field_met_ed, fields::field_st2, fields::field_st2_e2, fields::field_st2_e3, fields::field_st3, fields::field_st3_e3, fields::field_st4, fields::field_st4_e2, fields::field_st4_e3, fields::field_stp, fields::field_t2, fields::field_t2_e2, fields::field_t2_e3, fields::field_t3, fields::field_t3_e3, fields::field_t4, fields::field_t4_e2, fields::field_t4_e3, and fields::field_tp.
Definition at line 1740 of file field_vd.cc.
References field_vd(), sheaf::any::is_same_type(), and operator=().
Referenced by is_ancestor_of().
fields::sec_ed_invertible & fields::field_vd::coordinates | ( | ) | const |
The independent variable of this field.
Definition at line 339 of file field_vd.cc.
References _coordinates, and property().
Referenced by delete_field_spaces(), fields::field_factory::delete_field_spaces(), fields::field_at0::field_at0(), fields::field_at1::field_at1(), fields::field_at2::field_at2(), fields::field_at2_e2::field_at2_e2(), fields::field_at2_e3::field_at2_e3(), fields::field_at3::field_at3(), fields::field_at3_e3::field_at3_e3(), fields::field_atp::field_atp(), fields::field_e1::field_e1(), fields::field_e1_uniform::field_e1_uniform(), fields::field_e2::field_e2(), fields::field_e2_uniform::field_e2_uniform(), fields::field_e3::field_e3(), fields::field_e3_uniform::field_e3_uniform(), fields::field_e4::field_e4(), fields::field_ed::field_ed(), fields::field_eval_iterator::field_eval_iterator(), fields::field_jcb::field_jcb(), fields::field_jcb_e13::field_jcb_e13(), fields::field_jcb_e23::field_jcb_e23(), fields::field_jcb_e33::field_jcb_e33(), fields::field_jcb_ed::field_jcb_ed(), fields::field_met::field_met(), fields::field_met_e1::field_met_e1(), fields::field_met_e2::field_met_e2(), fields::field_met_e3::field_met_e3(), fields::field_met_ed::field_met_ed(), fields::field_refinement_buffer::field_refinement_buffer(), fields::field_st2::field_st2(), fields::field_st2_e2::field_st2_e2(), fields::field_st2_e3::field_st2_e3(), fields::field_st3::field_st3(), fields::field_st3_e3::field_st3_e3(), fields::field_st4::field_st4(), fields::field_st4_e2::field_st4_e2(), fields::field_st4_e3::field_st4_e3(), fields::field_stp::field_stp(), fields::field_t2::field_t2(), fields::field_t2_e2::field_t2_e2(), fields::field_t2_e3::field_t2_e3(), fields::field_t3::field_t3(), fields::field_t3_e3::field_t3_e3(), fields::field_t4::field_t4(), fields::field_t4_e2::field_t4_e2(), fields::field_t4_e3::field_t4_e3(), fields::field_tp::field_tp(), field_vd(), fields::field_refinement_buffer::gather_coordinate_dofs(), fields::property_disc_iterator::initialize_iteration(), fields::field_st4_e3::invariant(), fields::field_t2::invariant(), fields::field_t4_e3::invariant(), fields::field_st2_e3::invariant(), fields::field_ed::invariant(), fields::field_st3::invariant(), fields::field_met::invariant(), fields::field_atp::invariant(), fields::field_st3_e3::invariant(), fields::field_st4::invariant(), fields::field_t4::invariant(), fields::field_at2_e2::invariant(), fields::field_st2_e2::invariant(), fields::field_st4_e2::invariant(), fields::field_jcb::invariant(), fields::field_e1::invariant(), fields::field_stp::invariant(), fields::field_t4_e2::invariant(), fields::field_t3::invariant(), fields::field_at1::invariant(), fields::field_met_ed::invariant(), fields::field_t2_e2::invariant(), fields::field_jcb_e23::invariant(), fields::field_jcb_e33::invariant(), fields::field_met_e2::invariant(), fields::field_e1_uniform::invariant(), fields::field_t3_e3::invariant(), fields::field_at2_e3::invariant(), fields::field_jcb_ed::invariant(), fields::field_e2::invariant(), fields::field_t2_e3::invariant(), fields::field_tp::invariant(), fields::field_at0::invariant(), fields::field_met_e1::invariant(), fields::field_e2_uniform::invariant(), fields::field_at3::invariant(), fields::field_met_e3::invariant(), fields::field_e3::invariant(), fields::field_jcb_e13::invariant(), fields::field_at2::invariant(), fields::field_e3_uniform::invariant(), fields::field_at3_e3::invariant(), fields::field_st2::invariant(), fields::field_e4::invariant(), invariant(), is_attached(), name_space(), new_property_disc_iterator(), operator=(), print_property_dofs(), property_at_coordinates(), fields::property_disc_iterator_1_1::property_disc_iterator_1_1(), fields::property_disc_iterator_1_2::property_disc_iterator_1_2(), fields::property_disc_iterator_1_3::property_disc_iterator_1_3(), fields::property_disc_iterator_4_2::property_disc_iterator_4_2(), fields::property_disc_iterator_4_3::property_disc_iterator_4_3(), fields::refining_section_pusher::push(), put_property_dofs(), fields::field_refiner::refine(), fields::zone_centered_tet_refiner::refine_coordinates(), fields::zone_centered_segment_refiner::refine_coordinates(), fields::zone_centered_triangle_refiner::refine_coordinates(), fields::edge_centered_polygon_refiner::refine_coordinates(), fields::field_refinement_buffer::reserve_coord_fiber(), same_discretization(), same_evaluation(), fields::section_pusher::section_pusher(), state_is_modified(), state_is_not_read_accessible(), state_is_not_read_only_accessible(), state_is_not_read_write_accessible(), state_is_read_accessible(), state_is_read_only_accessible(), and state_is_read_write_accessible().
int fields::field_vd::db | ( | ) | const |
The dimension of the base space.
Definition at line 302 of file field_vd.cc.
References _property, fiber_bundle::section_space_schema_member::db(), name_space(), fiber_bundle::sec_rep_space_member::schema(), and state_is_read_accessible().
Referenced by dp().
int fields::field_vd::dc | ( | ) | const |
The dimension of the coordinates (independent variable) space.
Definition at line 254 of file field_vd.cc.
References _coordinates, fiber_bundle::section_space_schema_member::df(), dp(), fiber_bundle::sec_rep_space_member::schema(), and state_is_read_accessible().
Referenced by fields::field_refinement_buffer::evaluate_source_at_disc(), fields::field_refinement_buffer::field_refinement_buffer(), fields::field_refinement_buffer::gather_coordinate_dofs(), fields::field_refinement_buffer::push_prop_dofs(), and ~field_vd().
|
static |
Deletes field xfield and all associated section spaces, section schema spaces, and base space, if they are no longer being used. If xdelete_coord_fiber delete the coordinate fiber space, if it is no longer beinbg used, and similarly for xdelete_prop_fiber.
Definition at line 1101 of file field_vd.cc.
References access_control_disabled(), base_space(), sheaf::namespace_poset::begin_jim_edit_mode(), coordinates(), sheaf::poset_state_handle::cover_is_empty(), sheaf::poset_state_handle::delete_link(), sheaf::poset_state_handle::delete_member(), sheaf::namespace_poset::delete_poset(), sheaf::namespace_poset::end_jim_edit_mode(), fiber_bundle::section_space_schema_poset::fiber_space(), get_read_access(), fiber_bundle::sec_at1::host(), fiber_bundle::sec_vd::host(), fiber_bundle::base_space_member::host(), fiber_bundle::section_space_schema_member::host(), sheaf::poset_state_handle::index(), sheaf::is_valid(), sheaf::LOWER, sheaf::poset_state_handle::member_id(), sheaf::poset_state_handle::member_index_ub(), sheaf::poset_state_handle::member_iterator(), name_space(), sheaf::scoped_index::pod(), sheaf::PREREQ_IDS_UB, property(), release_access(), fiber_bundle::sec_rep_space::schema(), and sheaf::namespace_poset::top().
Referenced by embed_property().
int fields::field_vd::dp | ( | ) | const |
The dimension of the property (dependent variable) space.
Definition at line 278 of file field_vd.cc.
References _property, db(), fiber_bundle::section_space_schema_member::df(), fiber_bundle::sec_rep_space_member::schema(), and state_is_read_accessible().
Referenced by fields::body_builder::build(), fields::body_builder::build_pa(), dc(), fields::field_refinement_buffer::field_refinement_buffer(), fields::field_refinement_buffer::gather_property_dofs(), property_at_coordinates(), fields::variance_bound_refinement_policy::should_refine(), and fields::zone_centered_error_bound_refinement_policy::should_refine().
sheaf::subposet * fields::field_vd::embed_property | ( | const std::string & | xresult_name, |
name_multimap & | xresult_member_names, | ||
bool | xauto_access | ||
) |
Creates a decomposition of the base space such that the value of property() is constant on each member.
Definition at line 972 of file field_vd.cc.
References _property, base_space(), fiber_bundle::section_space_schema_member::base_space(), fiber_bundle::tuple::clone(), sheaf::subposet::contains_member(), delete_field_spaces(), sheaf::poset_state_handle::delete_link(), fiber_bundle::section_space_schema_member::evaluation(), fiber_bundle::sec_vd::fiber_prototype(), sheaf::poset_state_handle::first_cover_member(), fiber_bundle::sec_vd::get_fiber(), get_read_write_access(), sheaf::poset_component::host(), sheaf::index_space_handle::hub_pod(), sheaf::poset_component::index(), sheaf::scattered_insertion_index_space_handle::insert(), sheaf::subposet::insert_member(), sheaf::is_valid(), sheaf::LOWER, sheaf::poset_state_handle::member_hub_id_space(), sheaf::name_multimap::name(), sheaf::subposet::name(), sheaf::subposet::new_id_space(), sheaf::poset_state_handle::new_link(), sheaf::poset_state_handle::new_member(), sheaf::scoped_index::pod(), property(), sheaf::poset_state_handle::put_member_name(), sheaf::subposet::put_name(), release_access(), fiber_bundle::sec_rep_space_member::schema(), and state_is_read_write_accessible().
Referenced by property_at_coordinates().
|
static |
Enables access control. Synonym for read_write_monitor::enable_access_control(). Should only be invoked once at beginning of a program, before any other SheafSystem calls. Once enabled, access control can not be disabled.
Definition at line 1288 of file field_vd.cc.
References access_control_disabled(), sheaf::read_write_monitor::enable_access_control(), and is_attached().
Referenced by access_control_disabled().
|
virtual |
Get read access to the state associated with this.
Definition at line 1516 of file field_vd.cc.
References _base_space, _coordinates, _property, access_request_depth(), sheaf::poset_component::get_read_access(), get_read_write_access(), is_attached(), and state_is_read_accessible().
Referenced by access_request_depth(), delete_field_spaces(), fields::field_factory::delete_field_spaces(), fields::body_factory::new_3d_uniform_bodies(), print_property_dofs(), fields::refining_section_pusher::push(), fields::push(), fields::field_jcb_ed::same_property_fiber_schema(), fields::field_tp::same_property_fiber_schema(), fields::field_t4_e3::same_property_fiber_schema(), fields::field_t4_e2::same_property_fiber_schema(), fields::field_t4::same_property_fiber_schema(), fields::field_t3_e3::same_property_fiber_schema(), fields::field_t3::same_property_fiber_schema(), fields::field_t2_e3::same_property_fiber_schema(), fields::field_t2_e2::same_property_fiber_schema(), fields::field_t2::same_property_fiber_schema(), fields::field_stp::same_property_fiber_schema(), fields::field_st4_e3::same_property_fiber_schema(), fields::field_st4_e2::same_property_fiber_schema(), fields::field_st4::same_property_fiber_schema(), fields::field_st3_e3::same_property_fiber_schema(), fields::field_st3::same_property_fiber_schema(), fields::field_st2_e3::same_property_fiber_schema(), fields::field_st2_e2::same_property_fiber_schema(), fields::field_st2::same_property_fiber_schema(), fields::field_met_ed::same_property_fiber_schema(), fields::field_met_e3::same_property_fiber_schema(), fields::field_met_e2::same_property_fiber_schema(), fields::field_met_e1::same_property_fiber_schema(), fields::field_at0::same_property_fiber_schema(), fields::field_e1_uniform::same_property_fiber_schema(), fields::field_jcb_e33::same_property_fiber_schema(), fields::field_jcb_e23::same_property_fiber_schema(), fields::field_jcb_e13::same_property_fiber_schema(), fields::field_jcb::same_property_fiber_schema(), fields::field_atp::same_property_fiber_schema(), fields::field_at3_e3::same_property_fiber_schema(), fields::field_e4::same_property_fiber_schema(), fields::field_e3_uniform::same_property_fiber_schema(), fields::field_e3::same_property_fiber_schema(), fields::field_e2_uniform::same_property_fiber_schema(), fields::field_at1::same_property_fiber_schema(), fields::field_at2_e2::same_property_fiber_schema(), fields::field_e1::same_property_fiber_schema(), fields::field_ed::same_property_fiber_schema(), fields::field_at2::same_property_fiber_schema(), fields::field_at3::same_property_fiber_schema(), fields::field_met::same_property_fiber_schema(), fields::field_at2_e3::same_property_fiber_schema(), fields::field_e2::same_property_fiber_schema(), same_property_fiber_schema(), and fields::section_pusher::section_pusher().
|
virtual |
Get read write access to the coordinates and property sections, which implies read access to the base space. If xbase_access, get read write access to the base space as well. If release_read_only_access is requested, read only access will be released then read_write_access will be requested, finally the same level of read_access as before will be requested.
Definition at line 1550 of file field_vd.cc.
References _base_space, _coordinates, _property, access_request_depth(), base_space(), sheaf::poset_component::get_read_access(), sheaf::poset_component::get_read_write_access(), is_attached(), release_access(), state_is_not_read_only_accessible(), and state_is_read_write_accessible().
Referenced by embed_property(), get_read_access(), fields::refining_section_pusher::push(), fields::push(), put_property_dofs(), and fields::field_refiner::refine().
|
virtual |
Class invariant.
Reimplemented from sheaf::any.
Reimplemented in fields::field_at0, fields::field_at1, fields::field_at2, fields::field_at2_e2, fields::field_at2_e3, fields::field_at3, fields::field_at3_e3, fields::field_atp, fields::field_e1, fields::field_e1_uniform, fields::field_e2, fields::field_e2_uniform, fields::field_e3, fields::field_e3_uniform, fields::field_e4, fields::field_ed, fields::field_jcb, fields::field_jcb_e13, fields::field_jcb_e23, fields::field_jcb_e33, fields::field_jcb_ed, fields::field_met, fields::field_met_e1, fields::field_met_e2, fields::field_met_e3, fields::field_met_ed, fields::field_st2, fields::field_st2_e2, fields::field_st2_e3, fields::field_st3, fields::field_st3_e3, fields::field_st4, fields::field_st4_e2, fields::field_st4_e3, fields::field_stp, fields::field_t2, fields::field_t2_e2, fields::field_t2_e3, fields::field_t3, fields::field_t3_e3, fields::field_t4, fields::field_t4_e2, fields::field_t4_e3, and fields::field_tp.
Definition at line 1862 of file field_vd.cc.
References base_space(), coordinates(), sheaf::any::disable_invariant_check(), sheaf::any::enable_invariant_check(), sheaf::any::invariant(), sheaf::any::invariant_check(), property(), fields::push(), and state_is_read_accessible().
Referenced by fields::field_jcb::invariant(), fields::field_tp::invariant(), and operator=().
|
virtual |
Conformance test; true if other conforms to this.
Reimplemented from sheaf::any.
Reimplemented in fields::field_at0, fields::field_at1, fields::field_at2, fields::field_at2_e2, fields::field_at2_e3, fields::field_at3, fields::field_at3_e3, fields::field_atp, fields::field_e1, fields::field_e1_uniform, fields::field_e2, fields::field_e2_uniform, fields::field_e3, fields::field_e3_uniform, fields::field_e4, fields::field_ed, fields::field_jcb, fields::field_jcb_e13, fields::field_jcb_e23, fields::field_jcb_e33, fields::field_jcb_ed, fields::field_met, fields::field_met_e1, fields::field_met_e2, fields::field_met_e3, fields::field_met_ed, fields::field_st2, fields::field_st2_e2, fields::field_st2_e3, fields::field_st3, fields::field_st3_e3, fields::field_st4, fields::field_st4_e2, fields::field_st4_e3, fields::field_stp, fields::field_t2, fields::field_t2_e2, fields::field_t2_e3, fields::field_t3, fields::field_t3_e3, fields::field_t4, fields::field_t4_e2, fields::field_t4_e3, and fields::field_tp.
Definition at line 1719 of file field_vd.cc.
References clone().
Referenced by static_class_name().
|
virtual |
True if this handle has a state associated with it.
Definition at line 1311 of file field_vd.cc.
References _coordinates, _property, coordinates(), sheaf::poset_component::is_attached(), property(), and state_is_read_only_accessible().
Referenced by access_request_depth(), clear_state_is_modified(), enable_access_control(), fields::field_at0::field_at0(), fields::field_at1::field_at1(), fields::field_at2::field_at2(), fields::field_at2_e2::field_at2_e2(), fields::field_at2_e3::field_at2_e3(), fields::field_at3::field_at3(), fields::field_at3_e3::field_at3_e3(), fields::field_atp::field_atp(), fields::field_e1::field_e1(), fields::field_e1_uniform::field_e1_uniform(), fields::field_e2::field_e2(), fields::field_e2_uniform::field_e2_uniform(), fields::field_e3::field_e3(), fields::field_e3_uniform::field_e3_uniform(), fields::field_e4::field_e4(), fields::field_ed::field_ed(), fields::field_jcb::field_jcb(), fields::field_jcb_e13::field_jcb_e13(), fields::field_jcb_e23::field_jcb_e23(), fields::field_jcb_e33::field_jcb_e33(), fields::field_jcb_ed::field_jcb_ed(), fields::field_met::field_met(), fields::field_met_e1::field_met_e1(), fields::field_met_e2::field_met_e2(), fields::field_met_e3::field_met_e3(), fields::field_met_ed::field_met_ed(), fields::field_st2::field_st2(), fields::field_st2_e2::field_st2_e2(), fields::field_st2_e3::field_st2_e3(), fields::field_st3::field_st3(), fields::field_st3_e3::field_st3_e3(), fields::field_st4::field_st4(), fields::field_st4_e2::field_st4_e2(), fields::field_st4_e3::field_st4_e3(), fields::field_stp::field_stp(), fields::field_t2::field_t2(), fields::field_t2_e2::field_t2_e2(), fields::field_t2_e3::field_t2_e3(), fields::field_t3::field_t3(), fields::field_t3_e3::field_t3_e3(), fields::field_t4::field_t4(), fields::field_t4_e2::field_t4_e2(), fields::field_t4_e3::field_t4_e3(), fields::field_tp::field_tp(), field_vd(), get_read_access(), get_read_write_access(), fields::operator>>(), print_property_dofs(), fields::push(), put_property_dofs(), state_is_modified(), state_is_not_read_accessible(), state_is_not_read_only_accessible(), state_is_not_read_write_accessible(), state_is_read_accessible(), state_is_read_only_accessible(), and state_is_read_write_accessible().
sheaf::namespace_poset & fields::field_vd::name_space | ( | ) | const |
The namespace this resides in.
Definition at line 331 of file field_vd.cc.
References _base_space, coordinates(), and sheaf::poset_component::name_space().
Referenced by db(), delete_field_spaces(), fields::field_factory::delete_field_spaces(), and fields::field_refinement_buffer::field_refinement_buffer().
fields::property_disc_iterator * fields::field_vd::new_property_disc_iterator | ( | ) | const |
Iterator over property discretiation.
Definition at line 389 of file field_vd.cc.
References coordinates(), fields::property_disc_iterator::coordinates_schema(), sheaf::poset_component::is_same_state(), fields::property_disc_iterator::new_property_disc_iterator(), property(), property_dof_function_example(), fields::property_disc_iterator::property_schema(), and state_is_read_accessible().
Referenced by base_space().
|
virtual |
Assignment operator.
Reimplemented in fields::field_at0, fields::field_at1, fields::field_at2, fields::field_at2_e2, fields::field_at2_e3, fields::field_at3, fields::field_at3_e3, fields::field_atp, fields::field_e1, fields::field_e1_uniform, fields::field_e2, fields::field_e2_uniform, fields::field_e3, fields::field_e3_uniform, fields::field_e4, fields::field_ed, fields::field_jcb, fields::field_jcb_e13, fields::field_jcb_e23, fields::field_jcb_e33, fields::field_jcb_ed, fields::field_met, fields::field_met_e1, fields::field_met_e2, fields::field_met_e3, fields::field_met_ed, fields::field_st2, fields::field_st2_e2, fields::field_st2_e3, fields::field_st3, fields::field_st3_e3, fields::field_st4, fields::field_st4_e2, fields::field_st4_e3, fields::field_stp, fields::field_t2, fields::field_t2_e2, fields::field_t2_e3, fields::field_t3, fields::field_t3_e3, fields::field_t4, fields::field_t4_e2, fields::field_t4_e3, and fields::field_tp.
Definition at line 1763 of file field_vd.cc.
References _base_space, _coordinates, _property, sheaf::abstract_poset_member::attach_to_state(), base_space(), coordinates(), invariant(), property(), state_is_read_accessible(), and state_is_read_write_accessible().
Referenced by clone(), fields::field_at0::operator=(), fields::field_met::operator=(), fields::field_tp::operator=(), fields::field_t4_e3::operator=(), fields::field_t4_e2::operator=(), fields::field_t4::operator=(), fields::field_t3_e3::operator=(), fields::field_t3::operator=(), fields::field_t2_e3::operator=(), fields::field_t2_e2::operator=(), fields::field_t2::operator=(), fields::field_stp::operator=(), fields::field_st4_e3::operator=(), fields::field_st4_e2::operator=(), fields::field_at2_e2::operator=(), fields::field_st3_e3::operator=(), fields::field_st3::operator=(), fields::field_st2_e3::operator=(), fields::field_st2_e2::operator=(), fields::field_st2::operator=(), fields::field_met_ed::operator=(), fields::field_met_e3::operator=(), fields::field_met_e2::operator=(), fields::field_met_e1::operator=(), fields::field_e2::operator=(), fields::field_jcb_ed::operator=(), fields::field_jcb_e33::operator=(), fields::field_jcb_e23::operator=(), fields::field_jcb_e13::operator=(), fields::field_jcb::operator=(), fields::field_atp::operator=(), fields::field_e4::operator=(), fields::field_e3_uniform::operator=(), fields::field_e3::operator=(), fields::field_e2_uniform::operator=(), fields::field_at2_e3::operator=(), fields::field_e1_uniform::operator=(), fields::field_e1::operator=(), fields::field_ed::operator=(), fields::field_at3_e3::operator=(), fields::field_at3::operator=(), fields::field_at1::operator=(), fields::field_st4::operator=(), fields::field_at2::operator=(), and operator=().
fields::field_vd & fields::field_vd::operator= | ( | const sec_vd & | xsection | ) |
Assignment operator.
Definition at line 1791 of file field_vd.cc.
References operator=(), property(), sheaf::read_write_monitor_handle::state_is_read_accessible(), and state_is_read_write_accessible().
fields::field_vd & fields::field_vd::operator= | ( | const vd & | xfiber | ) |
Assignment operator.
Definition at line 1815 of file field_vd.cc.
References operator=(), property(), sheaf::read_write_monitor_handle::state_is_read_accessible(), and state_is_read_write_accessible().
fields::field_vd & fields::field_vd::operator= | ( | const vd_lite & | xfiber | ) |
Assignment operator.
Definition at line 1839 of file field_vd.cc.
References invariant(), property(), and state_is_read_write_accessible().
void fields::field_vd::print_property_dofs | ( | std::ostream & | xos, |
property_dof_function_type | xproperty_dofs_fcn, | ||
const std::string & | xtitle_text, | ||
bool | xzero_specified, | ||
bool | xauto_access | ||
) | const |
Prints the property dofs and coordinates at the property discretization points. If xproperty_dof_fcn != 0, prints the result of xproperty_dofs_fcn at each discretization point and the difference with the actual property dofs. If xzero_specified, assume the result of xproperty_dofs_fcn is zero wherever property is zero. Intended to be useful for debugging.
Definition at line 723 of file field_vd.cc.
References access_request_depth(), coordinates(), get_read_access(), is_attached(), sheaf::abstract_poset_member::name(), property(), fields::discretization_pusher::push(), release_access(), same_property_fiber_schema(), and state_is_read_accessible().
Referenced by fields::operator<<(), and put_property_dofs().
fiber_bundle::sec_vd & fields::field_vd::property | ( | ) | const |
The dependent variable of this field.
Definition at line 357 of file field_vd.cc.
References _property, and base_space().
Referenced by fields::field_vd_algebra::add(), fields::body_builder::build_pa(), fields::field_vd_algebra::contract(), coordinates(), delete_field_spaces(), fields::field_factory::delete_field_spaces(), fields::field_vd_algebra::divide(), embed_property(), fields::field_eval_iterator::field_eval_iterator(), fields::field_refinement_buffer::field_refinement_buffer(), field_vd(), fields::field_refinement_buffer::gather_property_dofs(), fields::property_disc_iterator::initialize_iteration(), invariant(), is_attached(), fields::field_vd_algebra::multiply(), new_property_disc_iterator(), operator=(), print_property_dofs(), property_at_coordinates(), fields::property_disc_iterator_1_1::property_disc_iterator_1_1(), fields::property_disc_iterator_1_2::property_disc_iterator_1_2(), fields::property_disc_iterator_1_3::property_disc_iterator_1_3(), fields::property_disc_iterator_4_2::property_disc_iterator_4_2(), fields::property_disc_iterator_4_3::property_disc_iterator_4_3(), fields::refining_section_pusher::push(), fields::push(), fields::field_refinement_buffer::push_prop_dofs(), put_property_dofs(), fields::field_refiner::refine(), fields::field_refinement_buffer::refine_prop_dofs(), fields::field_refinement_buffer::reserve_prop_fiber(), same_discretization(), same_evaluation(), same_property_fiber_schema(), fields::section_pusher::section_pusher(), state_is_modified(), state_is_not_read_accessible(), state_is_not_read_only_accessible(), state_is_not_read_write_accessible(), state_is_read_accessible(), state_is_read_only_accessible(), state_is_read_write_accessible(), and fields::field_vd_algebra::subtract().
The value of the property at the given global coordinates.
Definition at line 873 of file field_vd.cc.
References fiber_bundle::vd_lite::d(), sheaf::row_dofs(), and state_is_read_accessible().
Referenced by fields::field_refinement_buffer::evaluate_at_center(), fields::field_refinement_buffer::evaluate_source_at_disc(), property_at_coordinates(), and same_discretization().
void fields::field_vd::property_at_coordinates | ( | const block< sec_vd_value_type > & | xcoord, |
block< sec_vd_value_type > & | xprop | ||
) | const |
The value of the property at the given global coordinates.
Definition at line 899 of file field_vd.cc.
References sheaf::auto_block< T, S >::base(), sheaf::auto_block< T, S >::ct(), dp(), property_at_coordinates(), sheaf::auto_block< T, S >::set_ct(), state_is_read_accessible(), and sheaf::auto_block< T, S >::ub().
void fields::field_vd::property_at_coordinates | ( | sec_vd_value_type | xcoord_base[], |
int | xcoord_ct, | ||
sec_vd_value_type | xprop_base[], | ||
int | xprop_ub | ||
) | const |
The value of the property at the given global coordinates.
Definition at line 923 of file field_vd.cc.
References coordinates(), dp(), embed_property(), geometry::sec_ed_invertible::initialize_point_locator(), fiber_bundle::chart_point::is_valid(), geometry::sec_ed_invertible::point_at_value_ua(), property(), state_is_read_accessible(), and fiber_bundle::sec_vd::value_at_point_ua().
|
static |
Example property dof function; property value is x*1000000 + y*1000 + z, intended to be easy to check field dofs for correctness.
Definition at line 417 of file field_vd.cc.
References sheaf::auto_block< T, S >::ct(), and put_property_dofs().
Referenced by new_property_disc_iterator().
void fields::field_vd::put_property_dofs | ( | property_dof_function_type | xproperty_dofs_fcn, |
bool | xauto_access | ||
) |
Sets the dofs of property() to values computed by xproperty_dofs_fcn.
Definition at line 454 of file field_vd.cc.
References _coordinates, _property, access_request_depth(), get_read_write_access(), is_attached(), release_access(), and state_is_read_write_accessible().
Referenced by fields::body_factory::new_3d_uniform_bodies(), fields::field_factory::new_scalar_field_1d_points(), fields::field_factory::new_scalar_field_1d_uniform(), fields::field_factory::new_scalar_field_1d_unstructured(), fields::field_factory::new_scalar_field_2d_points(), fields::field_factory::new_scalar_field_2d_uniform(), fields::field_factory::new_scalar_field_2d_unstructured(), fields::field_factory::new_scalar_field_3d_points(), fields::field_factory::new_scalar_field_3d_uniform(), fields::field_factory::new_scalar_field_3d_unstructured(), property_dof_function_example(), and put_property_dofs().
|
static |
Sets the dofs of xproperty to values computed by xproperty_dofs_fcn using xcoordinates to compute the coordinates at the discretization points.
Definition at line 490 of file field_vd.cc.
References sheaf::read_write_monitor_handle::access_request_depth(), sheaf::auto_block< T, S >::base(), sheaf::auto_block< T, S >::ct(), sheaf::auto_block< T, un_block_initialization_policy< T > >::ct(), fiber_bundle::section_space_schema_member::df(), fiber_bundle::discretization_context::disc_id, fields::property_disc_iterator::get_prop_disc_values(), sheaf::poset_component::get_read_access(), sheaf::poset_component::get_read_write_access(), sheaf::poset_component::is_attached(), sheaf::depth_first_iterator::is_done(), fields::property_disc_iterator::new_property_disc_iterator(), sheaf::depth_first_iterator::next(), fields::property_disc_iterator::property_discretization_members(), fiber_bundle::sec_vd::put_fiber(), put_property_dofs(), sheaf::poset_component::release_access(), fiber_bundle::sec_rep_space_member::schema(), sheaf::auto_block< T, S >::set_ct(), sheaf::read_write_monitor_handle::state_is_read_accessible(), sheaf::read_write_monitor_handle::state_is_read_write_accessible(), and fiber_bundle::discretization_context::values.
void fields::field_vd::put_property_dofs | ( | put_property_dofs_action & | xproperty_dofs_action, |
bool | xauto_access | ||
) |
OBSOLETE: Use put_proeprty_dofs(property_dof_function_type, bool). Sets the dofs of property() to values computed by xproperty_dofs_action.
Definition at line 589 of file field_vd.cc.
References access_request_depth(), coordinates(), get_read_write_access(), is_attached(), sheaf::poset_component::is_same_state(), fields::put_property_dofs_action::property(), property(), fields::discretization_pusher::push(), put_property_dofs(), release_access(), and state_is_read_write_accessible().
|
static |
Sets the dofs of xproperty to values computed by xproperty_dofs_fcn using xcoordinates to compute the coordinates at the discretization points.
Definition at line 629 of file field_vd.cc.
References sheaf::read_write_monitor_handle::access_request_depth(), sheaf::auto_block< T, un_block_initialization_policy< T > >::ct(), fiber_bundle::section_space_schema_member::df(), fiber_bundle::discretization_context::disc_id, fields::property_disc_iterator::get_prop_disc_values(), sheaf::poset_component::get_read_access(), sheaf::poset_component::get_read_write_access(), sheaf::poset_component::is_attached(), sheaf::depth_first_iterator::is_done(), fields::property_disc_iterator::new_property_disc_iterator(), sheaf::depth_first_iterator::next(), print_property_dofs(), fields::property_disc_iterator::property_discretization_members(), sheaf::poset_component::release_access(), fiber_bundle::sec_rep_space_member::schema(), sheaf::auto_block< T, S >::set_ct(), sheaf::read_write_monitor_handle::state_is_read_accessible(), sheaf::read_write_monitor_handle::state_is_read_write_accessible(), and fiber_bundle::discretization_context::values.
|
virtual |
Release access. If xall is true, release all levels of access. Otherwise, release one level of access.
Definition at line 1594 of file field_vd.cc.
References _base_space, _coordinates, _property, access_control_disabled(), access_request_depth(), sheaf::poset_component::release_access(), state_is_modified(), and state_is_read_accessible().
Referenced by delete_field_spaces(), fields::field_factory::delete_field_spaces(), embed_property(), get_read_write_access(), fields::body_factory::new_3d_uniform_bodies(), print_property_dofs(), fields::refining_section_pusher::push(), fields::push(), put_property_dofs(), fields::field_refiner::refine(), fields::field_tp::same_property_fiber_schema(), fields::field_t4_e3::same_property_fiber_schema(), fields::field_t4_e2::same_property_fiber_schema(), fields::field_t4::same_property_fiber_schema(), fields::field_t3_e3::same_property_fiber_schema(), fields::field_t3::same_property_fiber_schema(), fields::field_t2_e3::same_property_fiber_schema(), fields::field_t2_e2::same_property_fiber_schema(), fields::field_t2::same_property_fiber_schema(), fields::field_stp::same_property_fiber_schema(), fields::field_st4_e3::same_property_fiber_schema(), fields::field_st4_e2::same_property_fiber_schema(), fields::field_st4::same_property_fiber_schema(), fields::field_st3_e3::same_property_fiber_schema(), fields::field_st3::same_property_fiber_schema(), fields::field_st2_e3::same_property_fiber_schema(), fields::field_st2_e2::same_property_fiber_schema(), fields::field_st2::same_property_fiber_schema(), fields::field_e3::same_property_fiber_schema(), fields::field_met_ed::same_property_fiber_schema(), fields::field_met_e3::same_property_fiber_schema(), fields::field_e2_uniform::same_property_fiber_schema(), fields::field_met_e1::same_property_fiber_schema(), fields::field_at0::same_property_fiber_schema(), fields::field_jcb_ed::same_property_fiber_schema(), fields::field_jcb_e33::same_property_fiber_schema(), fields::field_jcb_e23::same_property_fiber_schema(), fields::field_jcb_e13::same_property_fiber_schema(), fields::field_jcb::same_property_fiber_schema(), fields::field_atp::same_property_fiber_schema(), fields::field_at3_e3::same_property_fiber_schema(), fields::field_e4::same_property_fiber_schema(), fields::field_e3_uniform::same_property_fiber_schema(), fields::field_at3::same_property_fiber_schema(), fields::field_met_e2::same_property_fiber_schema(), fields::field_met::same_property_fiber_schema(), fields::field_e1_uniform::same_property_fiber_schema(), fields::field_e1::same_property_fiber_schema(), fields::field_ed::same_property_fiber_schema(), fields::field_at2::same_property_fiber_schema(), fields::field_at1::same_property_fiber_schema(), fields::field_at2_e3::same_property_fiber_schema(), fields::field_at2_e2::same_property_fiber_schema(), fields::field_e2::same_property_fiber_schema(), same_property_fiber_schema(), and fields::section_pusher::section_pusher().
bool fields::field_vd::same_discretization | ( | ) | const |
True if the coordinates and property sections both use the same discretization subposet.
Definition at line 848 of file field_vd.cc.
References coordinates(), fiber_bundle::section_space_schema_member::discretization(), sheaf::poset_component::is_same_state(), property(), property_at_coordinates(), fiber_bundle::sec_rep_space_member::schema(), and state_is_read_accessible().
Referenced by same_evaluation().
bool fields::field_vd::same_evaluation | ( | ) | const |
True if the coordinates and property sections both use the same evaluation subposet.
Definition at line 822 of file field_vd.cc.
References coordinates(), fiber_bundle::section_space_schema_member::evaluation(), sheaf::poset_component::is_same_state(), property(), same_discretization(), fiber_bundle::sec_rep_space_member::schema(), and state_is_read_accessible().
Referenced by fields::field_eval_iterator::field_eval_iterator(), fields::field_refinement_buffer::field_refinement_buffer(), fields::refining_section_pusher::push(), fields::field_refinement_buffer::push_prop_dofs(), fields::field_refiner::refine(), same_property_fiber_schema(), fields::depth_bound_refinement_policy::should_refine(), and fields::zone_centered_error_bound_refinement_policy::should_refine().
bool fields::field_vd::same_property_fiber_schema | ( | const field_vd & | xother, |
bool | xauto_access | ||
) | const |
True if this has the same property fiber as xother.
Definition at line 786 of file field_vd.cc.
References fiber_bundle::section_space_schema_member::fiber_schema(), get_read_access(), property(), release_access(), same_evaluation(), fiber_bundle::sec_rep_space_member::schema(), and state_is_read_accessible().
Referenced by print_property_dofs(), and fields::push().
bool fields::field_vd::state_is_modified | ( | ) | const |
True if write access has been granted and released since the last call to clear_state_is_modified().
Definition at line 1625 of file field_vd.cc.
References _coordinates, _property, clear_state_is_modified(), coordinates(), is_attached(), property(), and sheaf::read_write_monitor_handle::state_is_modified().
Referenced by clear_state_is_modified(), and release_access().
bool fields::field_vd::state_is_not_read_accessible | ( | ) | const |
True if this is attached and if the coordinates and property are not accessible for read or access control is disabled.
Definition at line 1403 of file field_vd.cc.
References _coordinates, _property, access_control_disabled(), coordinates(), is_attached(), property(), sheaf::read_write_monitor_handle::state_is_not_read_accessible(), and state_is_read_write_accessible().
Referenced by fields::field_factory::new_scalar_field_1d_points(), fields::field_factory::new_scalar_field_1d_uniform(), fields::field_factory::new_scalar_field_1d_unstructured(), fields::field_factory::new_scalar_field_2d_points(), fields::field_factory::new_scalar_field_2d_uniform(), fields::field_factory::new_scalar_field_2d_unstructured(), fields::field_factory::new_scalar_field_3d_points(), fields::field_factory::new_scalar_field_3d_uniform(), fields::field_factory::new_scalar_field_3d_unstructured(), and state_is_read_accessible().
bool fields::field_vd::state_is_not_read_only_accessible | ( | ) | const |
True if this is attached and if the coordinates and property are not accessible for read only access or access control is disabled.
Definition at line 1356 of file field_vd.cc.
References access_control_disabled(), coordinates(), is_attached(), property(), sheaf::read_write_monitor_handle::state_is_not_read_only_accessible(), and state_is_read_accessible().
Referenced by get_read_write_access(), and state_is_read_only_accessible().
bool fields::field_vd::state_is_not_read_write_accessible | ( | bool | xbase_access = false | ) | const |
True if this is not attached or if coordinates(), property() or (if xbase access) base_space() are not accessible for read and write or access control is disabled.
Definition at line 1458 of file field_vd.cc.
References _base_space, _coordinates, _property, access_control_disabled(), access_request_depth(), base_space(), coordinates(), fiber_bundle::base_space_member::host(), is_attached(), property(), sheaf::read_write_monitor_handle::state_is_not_read_write_accessible(), and state_is_read_write_accessible().
Referenced by state_is_read_write_accessible().
bool fields::field_vd::state_is_read_accessible | ( | ) | const |
True if this is attached and if the coordinates and property are accessible for read or access control is disabled.
Definition at line 1380 of file field_vd.cc.
References _coordinates, _property, access_control_disabled(), coordinates(), is_attached(), property(), state_is_not_read_accessible(), and sheaf::read_write_monitor_handle::state_is_read_accessible().
Referenced by fields::body_builder::build(), fields::body_builder::build_pa(), db(), dc(), dp(), fields::field_refinement_buffer::evaluate_source_at_disc(), fields::field_eval_iterator::field_eval_iterator(), fields::field_refinement_buffer::field_refinement_buffer(), fields::field_refinement_buffer::gather_coordinate_dofs(), fields::field_refinement_buffer::gather_property_dofs(), get_read_access(), fields::property_disc_iterator::initialize_iteration(), fields::field_at3::invariant(), fields::field_e3_uniform::invariant(), fields::field_st2::invariant(), fields::field_st2_e2::invariant(), fields::field_e4::invariant(), fields::field_st2_e3::invariant(), fields::field_st3::invariant(), fields::field_at1::invariant(), fields::field_at3_e3::invariant(), fields::field_st3_e3::invariant(), fields::field_ed::invariant(), fields::field_st4::invariant(), fields::field_jcb::invariant(), fields::field_st4_e2::invariant(), fields::field_st4_e3::invariant(), fields::field_at0::invariant(), fields::field_at2::invariant(), fields::field_atp::invariant(), fields::field_stp::invariant(), fields::field_jcb_e13::invariant(), fields::field_t2::invariant(), fields::field_jcb_e23::invariant(), fields::field_t2_e2::invariant(), fields::field_t2_e3::invariant(), fields::field_e1::invariant(), fields::field_jcb_e33::invariant(), fields::field_t3::invariant(), fields::field_t3_e3::invariant(), fields::field_jcb_ed::invariant(), fields::field_t4::invariant(), fields::field_t4_e2::invariant(), fields::field_met::invariant(), fields::field_t4_e3::invariant(), fields::field_tp::invariant(), fields::field_e1_uniform::invariant(), fields::field_met_e1::invariant(), fields::field_met_e2::invariant(), fields::field_e2::invariant(), fields::field_met_e3::invariant(), fields::field_at2_e2::invariant(), fields::field_met_ed::invariant(), fields::field_at2_e3::invariant(), fields::field_e2_uniform::invariant(), fields::field_e3::invariant(), invariant(), new_property_disc_iterator(), fields::operator<<(), operator=(), print_property_dofs(), property_at_coordinates(), fields::property_disc_iterator_1_1::property_disc_iterator_1_1(), fields::property_disc_iterator_1_2::property_disc_iterator_1_2(), fields::property_disc_iterator_1_3::property_disc_iterator_1_3(), fields::property_disc_iterator_4_2::property_disc_iterator_4_2(), fields::property_disc_iterator_4_3::property_disc_iterator_4_3(), fields::refining_section_pusher::push(), fields::push(), release_access(), same_discretization(), same_evaluation(), fields::field_st4_e3::same_property_fiber_schema(), fields::field_st4::same_property_fiber_schema(), fields::field_st2::same_property_fiber_schema(), fields::field_at0::same_property_fiber_schema(), fields::field_t2_e3::same_property_fiber_schema(), fields::field_e1::same_property_fiber_schema(), fields::field_jcb_e33::same_property_fiber_schema(), fields::field_t3_e3::same_property_fiber_schema(), fields::field_jcb_ed::same_property_fiber_schema(), fields::field_t4_e2::same_property_fiber_schema(), fields::field_t4_e3::same_property_fiber_schema(), fields::field_jcb_e13::same_property_fiber_schema(), fields::field_atp::same_property_fiber_schema(), fields::field_e2::same_property_fiber_schema(), fields::field_met_e2::same_property_fiber_schema(), fields::field_at2_e3::same_property_fiber_schema(), fields::field_t2::same_property_fiber_schema(), fields::field_e2_uniform::same_property_fiber_schema(), fields::field_at3_e3::same_property_fiber_schema(), fields::field_met_e3::same_property_fiber_schema(), fields::field_e3_uniform::same_property_fiber_schema(), fields::field_e3::same_property_fiber_schema(), fields::field_at2::same_property_fiber_schema(), fields::field_met::same_property_fiber_schema(), fields::field_st4_e2::same_property_fiber_schema(), fields::field_e4::same_property_fiber_schema(), fields::field_stp::same_property_fiber_schema(), fields::field_at1::same_property_fiber_schema(), fields::field_jcb_e23::same_property_fiber_schema(), fields::field_t3::same_property_fiber_schema(), fields::field_t4::same_property_fiber_schema(), fields::field_tp::same_property_fiber_schema(), fields::field_at3::same_property_fiber_schema(), fields::field_met_e1::same_property_fiber_schema(), fields::field_at2_e2::same_property_fiber_schema(), fields::field_e1_uniform::same_property_fiber_schema(), fields::field_ed::same_property_fiber_schema(), fields::field_st3::same_property_fiber_schema(), fields::field_st2_e2::same_property_fiber_schema(), fields::field_met_ed::same_property_fiber_schema(), fields::field_t2_e2::same_property_fiber_schema(), fields::field_jcb::same_property_fiber_schema(), fields::field_st2_e3::same_property_fiber_schema(), fields::field_st3_e3::same_property_fiber_schema(), same_property_fiber_schema(), fields::section_pusher::section_pusher(), fields::field_refinement_policy::should_refine(), fields::depth_bound_refinement_policy::should_refine(), fields::zone_centered_error_bound_refinement_policy::should_refine(), and state_is_not_read_only_accessible().
bool fields::field_vd::state_is_read_only_accessible | ( | ) | const |
True if this is attached and if the coordinates and property are accessible for read access but not for write. False is access control is disabled.
Definition at line 1333 of file field_vd.cc.
References access_control_disabled(), coordinates(), is_attached(), property(), state_is_not_read_only_accessible(), and sheaf::read_write_monitor_handle::state_is_read_only_accessible().
Referenced by is_attached().
bool fields::field_vd::state_is_read_write_accessible | ( | bool | xbase_access = false | ) | const |
True if this is attached and if coordinates(), property() and (if xbase access) base_space() are accessible for read and write or access control is disabled.
Definition at line 1428 of file field_vd.cc.
References _base_space, _coordinates, _property, access_control_disabled(), base_space(), coordinates(), is_attached(), property(), state_is_not_read_write_accessible(), and sheaf::read_write_monitor_handle::state_is_read_write_accessible().
Referenced by embed_property(), get_read_write_access(), operator=(), fields::refining_section_pusher::push(), fields::push(), put_property_dofs(), fields::field_refiner::refine(), state_is_not_read_accessible(), and state_is_not_read_write_accessible().
|
static |
The name of this class.
Definition at line 1699 of file field_vd.cc.
References is_ancestor_of().
Referenced by class_name().
|
protected |
The base space of this field.
Definition at line 299 of file field_vd.h.
Referenced by base_space(), fields::field_at0::field_at0(), fields::field_at1::field_at1(), fields::field_at2::field_at2(), fields::field_at2_e2::field_at2_e2(), fields::field_at2_e3::field_at2_e3(), fields::field_at3::field_at3(), fields::field_at3_e3::field_at3_e3(), fields::field_atp::field_atp(), fields::field_e1::field_e1(), fields::field_e1_uniform::field_e1_uniform(), fields::field_e2::field_e2(), fields::field_e2_uniform::field_e2_uniform(), fields::field_e3::field_e3(), fields::field_e3_uniform::field_e3_uniform(), fields::field_e4::field_e4(), fields::field_ed::field_ed(), fields::field_jcb::field_jcb(), fields::field_jcb_e13::field_jcb_e13(), fields::field_jcb_e23::field_jcb_e23(), fields::field_jcb_e33::field_jcb_e33(), fields::field_jcb_ed::field_jcb_ed(), fields::field_met::field_met(), fields::field_met_e1::field_met_e1(), fields::field_met_e2::field_met_e2(), fields::field_met_e3::field_met_e3(), fields::field_met_ed::field_met_ed(), fields::field_st2::field_st2(), fields::field_st2_e2::field_st2_e2(), fields::field_st2_e3::field_st2_e3(), fields::field_st3::field_st3(), fields::field_st3_e3::field_st3_e3(), fields::field_st4::field_st4(), fields::field_st4_e2::field_st4_e2(), fields::field_st4_e3::field_st4_e3(), fields::field_stp::field_stp(), fields::field_t2::field_t2(), fields::field_t2_e2::field_t2_e2(), fields::field_t2_e3::field_t2_e3(), fields::field_t3::field_t3(), fields::field_t3_e3::field_t3_e3(), fields::field_t4::field_t4(), fields::field_t4_e2::field_t4_e2(), fields::field_t4_e3::field_t4_e3(), fields::field_tp::field_tp(), field_vd(), get_read_access(), get_read_write_access(), name_space(), operator=(), release_access(), state_is_not_read_write_accessible(), state_is_read_write_accessible(), and ~field_vd().
|
protected |
The independent variable of this field.
Definition at line 294 of file field_vd.h.
Referenced by access_request_depth(), clear_state_is_modified(), coordinates(), dc(), fields::field_at0::field_at0(), fields::field_at1::field_at1(), fields::field_at2::field_at2(), fields::field_at2_e2::field_at2_e2(), fields::field_at2_e3::field_at2_e3(), fields::field_at3::field_at3(), fields::field_at3_e3::field_at3_e3(), fields::field_atp::field_atp(), fields::field_e1::field_e1(), fields::field_e1_uniform::field_e1_uniform(), fields::field_e2::field_e2(), fields::field_e2_uniform::field_e2_uniform(), fields::field_e3::field_e3(), fields::field_e3_uniform::field_e3_uniform(), fields::field_e4::field_e4(), fields::field_ed::field_ed(), fields::field_jcb::field_jcb(), fields::field_jcb_e13::field_jcb_e13(), fields::field_jcb_e23::field_jcb_e23(), fields::field_jcb_e33::field_jcb_e33(), fields::field_jcb_ed::field_jcb_ed(), fields::field_met::field_met(), fields::field_met_e1::field_met_e1(), fields::field_met_e2::field_met_e2(), fields::field_met_e3::field_met_e3(), fields::field_met_ed::field_met_ed(), fields::field_st2::field_st2(), fields::field_st2_e2::field_st2_e2(), fields::field_st2_e3::field_st2_e3(), fields::field_st3::field_st3(), fields::field_st3_e3::field_st3_e3(), fields::field_st4::field_st4(), fields::field_st4_e2::field_st4_e2(), fields::field_st4_e3::field_st4_e3(), fields::field_stp::field_stp(), fields::field_t2::field_t2(), fields::field_t2_e2::field_t2_e2(), fields::field_t2_e3::field_t2_e3(), fields::field_t3::field_t3(), fields::field_t3_e3::field_t3_e3(), fields::field_t4::field_t4(), fields::field_t4_e2::field_t4_e2(), fields::field_t4_e3::field_t4_e3(), fields::field_tp::field_tp(), field_vd(), get_read_access(), get_read_write_access(), is_attached(), operator=(), put_property_dofs(), release_access(), state_is_modified(), state_is_not_read_accessible(), state_is_not_read_write_accessible(), state_is_read_accessible(), state_is_read_write_accessible(), and ~field_vd().
|
protected |
The dependent variable of this field.
Definition at line 289 of file field_vd.h.
Referenced by access_request_depth(), clear_state_is_modified(), db(), dp(), embed_property(), fields::field_at0::field_at0(), fields::field_at1::field_at1(), fields::field_at2::field_at2(), fields::field_at2_e2::field_at2_e2(), fields::field_at2_e3::field_at2_e3(), fields::field_at3::field_at3(), fields::field_at3_e3::field_at3_e3(), fields::field_atp::field_atp(), fields::field_e1::field_e1(), fields::field_e1_uniform::field_e1_uniform(), fields::field_e2::field_e2(), fields::field_e2_uniform::field_e2_uniform(), fields::field_e3::field_e3(), fields::field_e3_uniform::field_e3_uniform(), fields::field_e4::field_e4(), fields::field_ed::field_ed(), fields::field_jcb::field_jcb(), fields::field_jcb_e13::field_jcb_e13(), fields::field_jcb_e23::field_jcb_e23(), fields::field_jcb_e33::field_jcb_e33(), fields::field_jcb_ed::field_jcb_ed(), fields::field_met::field_met(), fields::field_met_e1::field_met_e1(), fields::field_met_e2::field_met_e2(), fields::field_met_e3::field_met_e3(), fields::field_met_ed::field_met_ed(), fields::field_st2::field_st2(), fields::field_st2_e2::field_st2_e2(), fields::field_st2_e3::field_st2_e3(), fields::field_st3::field_st3(), fields::field_st3_e3::field_st3_e3(), fields::field_st4::field_st4(), fields::field_st4_e2::field_st4_e2(), fields::field_st4_e3::field_st4_e3(), fields::field_stp::field_stp(), fields::field_t2::field_t2(), fields::field_t2_e2::field_t2_e2(), fields::field_t2_e3::field_t2_e3(), fields::field_t3::field_t3(), fields::field_t3_e3::field_t3_e3(), fields::field_t4::field_t4(), fields::field_t4_e2::field_t4_e2(), fields::field_t4_e3::field_t4_e3(), fields::field_tp::field_tp(), field_vd(), get_read_access(), get_read_write_access(), is_attached(), operator=(), property(), put_property_dofs(), release_access(), state_is_modified(), state_is_not_read_accessible(), state_is_not_read_write_accessible(), state_is_read_accessible(), state_is_read_write_accessible(), and ~field_vd().