Public Types | Public Member Functions

domain_t< Config > Class Template Reference

The domain class. Assembled at compile time by recursive inheritance for each topological level by the detail::domain_layers class. More...

#include <domain.hpp>

Inheritance diagram for domain_t< Config >:
domain_layers< Config, Config::cell_tag::dim, true, full_handling_tag >

Public Types

typedef Config config_type
 Publishes the configuration class.
typedef std::size_t size_type
 STL-like typedef.
typedef segment_t< Config > segment_type
 Publish the segment type.
typedef
detail::domain_segment_container
< self_type, segment_type
segment_container

Public Member Functions

 domain_t ()
 The default constructor.
template<typename OtherDomainType , typename RefinementTag >
 domain_t (refinement_proxy< OtherDomainType, RefinementTag > const &proxy)
 Constructor triggering the refinement of the domain.
 ~domain_t ()
 Destructor. Cleans up any data associated with the domain using ViennaData.
template<typename OtherDomainType , typename RefinementTag >
self_typeoperator= (refinement_proxy< OtherDomainType, RefinementTag > const &proxy)
 Triggers refinement of a domain and fills this domain with the new, refined mesh.
segment_containersegments ()
 Return the container of segments.
segment_container const & segments () const
 Return the container of segments. const-version.

Detailed Description

template<typename Config>
class viennagrid::domain_t< Config >

The domain class. Assembled at compile time by recursive inheritance for each topological level by the detail::domain_layers class.

Template Parameters:
Config The configuration class

Member Typedef Documentation

typedef Config config_type

Publishes the configuration class.

Reimplemented from domain_layers< Config, Config::cell_tag::dim, true, full_handling_tag >.

typedef segment_t<Config> segment_type

Publish the segment type.

typedef std::size_t size_type

STL-like typedef.


Constructor & Destructor Documentation

domain_t (  )  [inline]

The default constructor.

Note: Visual Studio complains about the use of 'this'. However, we just need the address, so this is perfectly safe, since the pointer is not dereferenced.

domain_t ( refinement_proxy< OtherDomainType, RefinementTag > const &  proxy  )  [inline]

Constructor triggering the refinement of the domain.

~domain_t (  )  [inline]

Destructor. Cleans up any data associated with the domain using ViennaData.


Member Function Documentation

self_type& operator= ( refinement_proxy< OtherDomainType, RefinementTag > const &  proxy  )  [inline]

Triggers refinement of a domain and fills this domain with the new, refined mesh.

segment_container const& segments (  )  const [inline]

Return the container of segments. const-version.

segment_container& segments (  )  [inline]

Return the container of segments.


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