SheafSystem  0.0.0.0
fields::body_factory Class Reference

Test case generator for classes body_builder and body_pusher. More...

#include <body_factory.h>

BODY_FACTORY FACET

static field_vdnew_1d_unstructured_bodies (fiber_bundles_namespace &xns, const std::string &xname_prefix)
 Uses body_builder to create bodies in a 1D unstructured mesh. More...
 
static field_vdnew_1d_uniform_bodies (fiber_bundles_namespace &xns, const std::string &xname_prefix)
 Uses body_builder to create bodies in a 1D uniform mesh. More...
 
static field_vdnew_2d_unstructured_bodies (fiber_bundles_namespace &xns, const std::string &xname_prefix)
 Uses body_builder to create bodies in a 2D unstructured mesh. More...
 
static field_vdnew_2d_uniform_bodies (fiber_bundles_namespace &xns, const std::string &xname_prefix)
 Uses body_builder to create bodies in a 2D uniform mesh. More...
 
static field_vdnew_3d_unstructured_bodies (fiber_bundles_namespace &xns, const std::string &xname_prefix)
 Uses body_builder to create bodies in a 3D unstructured mesh. More...
 
static field_vdnew_3d_uniform_bodies (fiber_bundles_namespace &xns, const std::string &xname_prefix)
 Uses body_builder to create bodies in a 3D uniform mesh. More...
 

Detailed Description

Test case generator for classes body_builder and body_pusher.

Definition at line 58 of file body_factory.h.

Member Function Documentation

◆ new_1d_uniform_bodies()

fields::field_vd * fields::body_factory::new_1d_uniform_bodies ( fiber_bundles_namespace xns,
const std::string &  xname_prefix 
)
static

Uses body_builder to create bodies in a 1D uniform mesh.

Precondition
  • xns.state_is_read_write_accessible()
  • !xns.contains_poset(xname_prefix+"_1d_uniform_base_space")
Postcondition
  • xns.contains_poset_member(xname_prefix+"_1d_uniform_base_space/circular_body0")
  • xns.contains_poset_member(xname_prefix+"_1d_uniform_base_space/square_body0")
  • xns.contains_poset_member(xname_prefix+"_1d_uniform_base_space/square_body1")

Definition at line 91 of file body_factory.cc.

References sheaf::namespace_poset::contains_poset(), sheaf::namespace_poset::contains_poset_member(), new_2d_unstructured_bodies(), and sheaf::read_write_monitor_handle::state_is_read_write_accessible().

Referenced by new_1d_unstructured_bodies().

◆ new_1d_unstructured_bodies()

fields::field_vd * fields::body_factory::new_1d_unstructured_bodies ( fiber_bundles_namespace xns,
const std::string &  xname_prefix 
)
static

Uses body_builder to create bodies in a 1D unstructured mesh.

Precondition
  • xns.state_is_read_write_accessible()
  • !xns.contains_poset(xname_prefix+"_1d_unstructured_base_space")
Postcondition
  • xns.contains_poset_member(xname_prefix+"_1d_unstructured_base_space/circular_body0")
  • xns.contains_poset_member(xname_prefix+"_1d_unstructured_base_space/square_body0")
  • xns.contains_poset_member(xname_prefix+"_1d_unstructured_base_space/square_body1")

Definition at line 50 of file body_factory.cc.

References sheaf::namespace_poset::contains_poset(), sheaf::namespace_poset::contains_poset_member(), new_1d_uniform_bodies(), and sheaf::read_write_monitor_handle::state_is_read_write_accessible().

◆ new_2d_uniform_bodies()

fields::field_vd * fields::body_factory::new_2d_uniform_bodies ( fiber_bundles_namespace xns,
const std::string &  xname_prefix 
)
static

Uses body_builder to create bodies in a 2D uniform mesh.

Precondition
  • xns.state_is_read_write_accessible()
  • !xns.contains_poset(xname_prefix+"_2d_uniform_base_space")
Postcondition
  • xns.contains_poset_member(xname_prefix+"_2d_uniform_base_space/circular_body0")
  • xns.contains_poset_member(xname_prefix+"_2d_uniform_base_space/square_body0")
  • xns.contains_poset_member(xname_prefix+"_2d_uniform_base_space/square_body1")

Definition at line 176 of file body_factory.cc.

References sheaf::namespace_poset::contains_poset(), sheaf::namespace_poset::contains_poset_member(), new_3d_unstructured_bodies(), and sheaf::read_write_monitor_handle::state_is_read_write_accessible().

Referenced by new_2d_unstructured_bodies().

◆ new_2d_unstructured_bodies()

fields::field_vd * fields::body_factory::new_2d_unstructured_bodies ( fiber_bundles_namespace xns,
const std::string &  xname_prefix 
)
static

Uses body_builder to create bodies in a 2D unstructured mesh.

Precondition
  • xns.state_is_read_write_accessible()
  • !xns.contains_poset(xname_prefix+"_2d_unstructured_base_space")
Postcondition
  • xns.contains_poset_member(xname_prefix+"_2d_unstructured_base_space/circular_body0")
  • xns.contains_poset_member(xname_prefix+"_2d_unstructured_base_space/square_body0")
  • xns.contains_poset_member(xname_prefix+"_2d_unstructured_base_space/square_body1")

Definition at line 133 of file body_factory.cc.

References sheaf::namespace_poset::contains_poset(), sheaf::namespace_poset::contains_poset_member(), new_2d_uniform_bodies(), and sheaf::read_write_monitor_handle::state_is_read_write_accessible().

Referenced by new_1d_uniform_bodies().

◆ new_3d_uniform_bodies()

fields::field_vd * fields::body_factory::new_3d_uniform_bodies ( fiber_bundles_namespace xns,
const std::string &  xname_prefix 
)
static

◆ new_3d_unstructured_bodies()

fields::field_vd * fields::body_factory::new_3d_unstructured_bodies ( fiber_bundles_namespace xns,
const std::string &  xname_prefix 
)
static

Uses body_builder to create bodies in a 3D unstructured mesh.

Precondition
  • xns.state_is_read_write_accessible()
  • !xns.contains_poset(xname_prefix+"_3d_unstructured_base_space")
Postcondition
  • xns.contains_poset_member(xname_prefix+"_3d_unstructured_base_space/circular_body0")
  • xns.contains_poset_member(xname_prefix+"_3d_unstructured_base_space/square_body0")
  • xns.contains_poset_member(xname_prefix+"_3d_unstructured_base_space/square_body1")

Definition at line 218 of file body_factory.cc.

References sheaf::namespace_poset::contains_poset(), sheaf::namespace_poset::contains_poset_member(), new_3d_uniform_bodies(), and sheaf::read_write_monitor_handle::state_is_read_write_accessible().

Referenced by new_2d_uniform_bodies().


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