Go to the documentation of this file.00001 #ifndef VIENNAFEM_UNKNOWN_CONFIG_HPP
00002 #define VIENNAFEM_UNKNOWN_CONFIG_HPP
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include "viennafem/forwards.h"
00018
00023 namespace viennafem
00024 {
00025
00033 template <typename MatrixType,
00034 typename VectorType,
00035 typename BoundaryKeyType = boundary_key,
00036 typename MappingKeyType = mapping_key>
00037 class unknown_config
00038 {
00039 public:
00040 typedef MatrixType matrix_type;
00041 typedef VectorType vector_type;
00042 typedef BoundaryKeyType boundary_key_type;
00043 typedef MappingKeyType mapping_key_type;
00044
00045 unknown_config(MatrixType & matrix, VectorType & vector) : m(matrix),v(vector) {}
00046
00047 BoundaryKeyType boundary_key() const { return BoundaryKeyType(0); }
00048 MappingKeyType mapping_key() const { return MappingKeyType(0); }
00049
00050 MatrixType & system_matrix() { return m; }
00051 VectorType & load_vector() { return v; }
00052
00053 private:
00054 MatrixType & m;
00055 VectorType & v;
00056 };
00057
00058 }
00059 #endif