MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / clone

Method clone

src/geode/mesh/core/regular_grid_surface.cpp:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 }
51
52 std::unique_ptr< RegularGrid< 2 > > RegularGrid< 2 >::clone() const
53 {
54 auto clone = create( this->impl_name() );
55 auto builder = RegularGridBuilder< 2 >::create( *clone );
56 builder->copy_identifier( *this );
57 builder->copy( *this );
58 return clone;
59 }
60
61 AttributeManager& RegularGrid< 2 >::cell_attribute_manager() const
62 {

Callers

nothing calls this directly

Calls 3

impl_nameMethod · 0.45
copy_identifierMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected