]> https://gitweb.dealii.org/ - dealii.git/commit
Introduce type trait is_serial_vector<VectorType> 3784/head
authorUwe Köcher <koecher@hsu-hamburg.de>
Thu, 12 Jan 2017 15:06:33 +0000 (16:06 +0100)
committerUwe Köcher <koecher@hsu-hamburg.de>
Thu, 26 Jan 2017 19:20:59 +0000 (20:20 +0100)
commite6af402f851d83efffa727ad3b745d26e73549f1
tree3c6c8c00d150a3825d699c2c341a6df4e7722d3d
parent7ed5c238d8d12f24a7c23c1caa3ccab00e45ec5d
Introduce type trait is_serial_vector<VectorType>

renames type trait is_non_distributed_vector to is_serial_vector and put it into dealii::std_cxx11 namespace

intendation with astyle 2.04 / script

more obivious logical statements as requested

moves true_type and false_type to dealii/base/std_cxx11/type_traits.h

moves specialization of is_serial_vector for dealii::Vector classes to their implementation

correction of implementation

moves vector type traits from a single file to their declaration files

testsuite for vector_type_traits.h for current vectors and instanciations

change request for comments

declares the is_serial_vector template without defining it and minor work on documentation

squashes test cases for is_serial_vector and marks output files for trilinos, petsc, mpi

corrects output files for testsuite (results are correct)

corrects intendation

intendation of #include
23 files changed:
include/deal.II/base/std_cxx11/type_traits.h
include/deal.II/lac/block_vector.h
include/deal.II/lac/constraint_matrix.templates.h
include/deal.II/lac/la_parallel_block_vector.h
include/deal.II/lac/la_parallel_vector.h
include/deal.II/lac/la_vector.h
include/deal.II/lac/petsc_block_vector.h
include/deal.II/lac/petsc_parallel_block_vector.h
include/deal.II/lac/petsc_parallel_vector.h
include/deal.II/lac/petsc_vector.h
include/deal.II/lac/trilinos_block_vector.h
include/deal.II/lac/trilinos_vector.h
include/deal.II/lac/vector.h
include/deal.II/lac/vector_type_traits.h [new file with mode: 0644]
include/deal.II/numerics/vector_tools.templates.h
source/lac/vector.cc
source/lac/vector.inst.in
tests/lac/vector_type_traits_is_serial_01.cc [new file with mode: 0644]
tests/lac/vector_type_traits_is_serial_01.output [new file with mode: 0644]
tests/lac/vector_type_traits_is_serial_02.cc [new file with mode: 0644]
tests/lac/vector_type_traits_is_serial_02.with_trilinos=true.with_mpi=true.output [new file with mode: 0644]
tests/lac/vector_type_traits_is_serial_03.cc [new file with mode: 0644]
tests/lac/vector_type_traits_is_serial_03.with_petsc=true.with_mpi=true.output [new file with mode: 0644]

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.