Static Public Attributes | Static Private Member Functions

IsBlockVector< VectorType > Struct Template Reference

List of all members.

Static Public Attributes

static const bool value

Static Private Member Functions

template<typename T >
static yes_type check_for_block_vector (const BlockVectorBase< T > *)
static no_type check_for_block_vector (...)

Detailed Description

template<typename VectorType>
struct IsBlockVector< VectorType >

A class that can be used to determine whether a given type is a block vector type or not. For example,

has the value false, whereas

is true. This is sometimes useful in template contexts where we may want to do things differently depending on whether a template type denotes a regular or a block vector type.

Author:
Wolfgang Bangerth, 2010

Definition at line 55 of file block_vector_base.h.


Member Function Documentation

template<typename VectorType >
template<typename T >
static yes_type IsBlockVector< VectorType >::check_for_block_vector ( const BlockVectorBase< T > *  ) [static, private]

Overload returning true if the class is derived from BlockVectorBase, which is what block vectors do.

template<typename VectorType >
static no_type IsBlockVector< VectorType >::check_for_block_vector (   ...) [static, private]

Catch all for all other potential vector types that are not block matrices.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Wed May 23 2012 06:08:28 by doxygen 1.7.3