From 3325aa8c40336fce14d8fe7204d2c1636cfd9530 Mon Sep 17 00:00:00 2001 From: Lei Qiao Date: Sat, 8 Aug 2015 20:42:39 -0500 Subject: [PATCH] add test for class ConstantFunction --- tests/base/functions_ConstantFunction_00.cc | 208 +++++++ .../base/functions_ConstantFunction_00.output | 577 ++++++++++++++++++ 2 files changed, 785 insertions(+) create mode 100644 tests/base/functions_ConstantFunction_00.cc create mode 100644 tests/base/functions_ConstantFunction_00.output diff --git a/tests/base/functions_ConstantFunction_00.cc b/tests/base/functions_ConstantFunction_00.cc new file mode 100644 index 0000000000..d09f7e51bf --- /dev/null +++ b/tests/base/functions_ConstantFunction_00.cc @@ -0,0 +1,208 @@ +// --------------------------------------------------------------------- +// +// Copyright (C) 2015 by the deal.II authors +// +// This file is part of the deal.II library. +// +// The deal.II library is free software; you can use it, redistribute +// it, and/or modify it under the terms of the GNU Lesser General +// Public License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// The full text of the license can be found in the file LICENSE at +// the top level of the deal.II distribution. +// +// --------------------------------------------------------------------- + + +// Test ConstantVectorFunction class + +#include "../tests.h" +#include +#include +#include +#include + +#define MAX_DIM 3 +#define MAX_N_COMPONENT 7 +#define LOG_FILE "output" +#define NUMBER double + +#define TESTEE ConstantFunction + +// Test a given TESTEE object f on n_points points +template +void test_one_object(const TESTEE &f, + const unsigned int n_points, + const unsigned int n_component) +{ + // Create a vector of random points + std::vector > points(n_points); + for (unsigned int i_point=0; i_point(); + for (unsigned int id=0; id retune_value(n_component); + + f.vector_value(points[0], retune_value); + retune_value.print(deallog, /*precision =*/6); + + f.vector_value(points[4], retune_value); + retune_value.print(deallog, /*precision =*/6); + } + + // value_list + { + deallog << std::endl; + std::vector return_values(n_points); + f.value_list(points, return_values/*, component = 0*/); + for (int i=0; i > return_values(n_points, Vector(n_component)); + f.vector_value_list(points, return_values); + for (int p=0; p +void test_constructor(const unsigned int n_component, + const std::vector &component_data) +{ + const unsigned int n_points(5); + + // Construct with value and n_component + { + deallog.flags(std::ios::fixed); + deallog << "\nIn " << dim << " dimension, " + << " Function with " << n_component << " components, " + << " Constructed with single value and n_component" << std::endl; + // Close file to let Test use it. + + TESTEE constant_vector_function(component_data[2 /*of MAX_N_COMPONENT*/], n_component); + test_one_object (constant_vector_function, n_points, n_component); + } + + // Construct with std::vector<> + { + std::vector v(n_component); + for (unsigned int i=0; i constant_vector_function(v); + test_one_object (constant_vector_function, n_points, n_component); + } + + // Construct with Vector + { + Vector v(n_component); + for (unsigned int i=0; i constant_vector_function(v); + test_one_object (constant_vector_function, n_points, n_component); + } + + // Construct with pointer and offset + { + deallog.flags(std::ios::fixed); + deallog << "\nIn " << dim << " dimension, " + << " Function with " << n_component << " components, " + << " Constructed with pointer and offset:" << std::endl; + // Close file to let Test use it. + + TESTEE constant_vector_function(&component_data[0], n_component); + test_one_object (constant_vector_function, n_points, n_component); + } + + return; +} + +// test different number of vector components +template +void test_n_components(const std::vector &component_data) +{ +#define N_COMPONENT_CASE 3 + const unsigned int components[N_COMPONENT_CASE] = { 1, 4, 7 }; + + for (unsigned int c=0; c (components[c], component_data); + } + + return; +} + +int main() +{ + // Create data for each component + + std::vector component_data(MAX_N_COMPONENT); + { + NUMBER data[MAX_N_COMPONENT] = { 1, 255, 32768, 98.2, 75, 7.9e+8, 6.7e-4 }; + component_data.assign(data, data+MAX_N_COMPONENT); + } + + std::ofstream logfile(LOG_FILE); + deallog.attach(logfile); + deallog.depth_console(0); + deallog.threshold_double(1.e-10); + + test_n_components<1,NUMBER> (component_data); + test_n_components<2,NUMBER> (component_data); + test_n_components<3,NUMBER> (component_data); + + return (0); +} diff --git a/tests/base/functions_ConstantFunction_00.output b/tests/base/functions_ConstantFunction_00.output new file mode 100644 index 0000000000..d2ff17c7c8 --- /dev/null +++ b/tests/base/functions_ConstantFunction_00.output @@ -0,0 +1,577 @@ + +DEAL:: +In 1 dimension, Function with 1 components, Constructed with single value and n_component +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL:: +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL:: +In 1 dimension, Function with 1 components, Constructed with std::vector: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +In 1 dimension, Function with 1 components, Constructed with Vector: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +In 1 dimension, Function with 1 components, Constructed with pointer and offset: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +In 1 dimension, Function with 4 components, Constructed with single value and n_component +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +In 1 dimension, Function with 4 components, Constructed with std::vector: +DEAL::1.000000e+00 +DEAL::9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +In 1 dimension, Function with 4 components, Constructed with Vector: +DEAL::1.000000e+00 +DEAL::9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +In 1 dimension, Function with 4 components, Constructed with pointer and offset: +DEAL::1.000000e+00 +DEAL::9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +In 1 dimension, Function with 7 components, Constructed with single value and n_component +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +In 1 dimension, Function with 7 components, Constructed with std::vector: +DEAL::1.000000e+00 +DEAL::6.700000e-04 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +In 1 dimension, Function with 7 components, Constructed with Vector: +DEAL::1.000000e+00 +DEAL::6.700000e-04 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +In 1 dimension, Function with 7 components, Constructed with pointer and offset: +DEAL::1.000000e+00 +DEAL::6.700000e-04 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +In 2 dimension, Function with 1 components, Constructed with single value and n_component +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL:: +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL:: +In 2 dimension, Function with 1 components, Constructed with std::vector: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +In 2 dimension, Function with 1 components, Constructed with Vector: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +In 2 dimension, Function with 1 components, Constructed with pointer and offset: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +In 2 dimension, Function with 4 components, Constructed with single value and n_component +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +In 2 dimension, Function with 4 components, Constructed with std::vector: +DEAL::1.000000e+00 +DEAL::9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +In 2 dimension, Function with 4 components, Constructed with Vector: +DEAL::1.000000e+00 +DEAL::9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +In 2 dimension, Function with 4 components, Constructed with pointer and offset: +DEAL::1.000000e+00 +DEAL::9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +In 2 dimension, Function with 7 components, Constructed with single value and n_component +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +In 2 dimension, Function with 7 components, Constructed with std::vector: +DEAL::1.000000e+00 +DEAL::6.700000e-04 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +In 2 dimension, Function with 7 components, Constructed with Vector: +DEAL::1.000000e+00 +DEAL::6.700000e-04 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +In 2 dimension, Function with 7 components, Constructed with pointer and offset: +DEAL::1.000000e+00 +DEAL::6.700000e-04 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +In 3 dimension, Function with 1 components, Constructed with single value and n_component +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL:: +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL:: +In 3 dimension, Function with 1 components, Constructed with std::vector: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +In 3 dimension, Function with 1 components, Constructed with Vector: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +In 3 dimension, Function with 1 components, Constructed with pointer and offset: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL:: +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL::1.000000e+00 +DEAL:: +In 3 dimension, Function with 4 components, Constructed with single value and n_component +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +In 3 dimension, Function with 4 components, Constructed with std::vector: +DEAL::1.000000e+00 +DEAL::9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +In 3 dimension, Function with 4 components, Constructed with Vector: +DEAL::1.000000e+00 +DEAL::9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +In 3 dimension, Function with 4 components, Constructed with pointer and offset: +DEAL::1.000000e+00 +DEAL::9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 +DEAL:: +In 3 dimension, Function with 7 components, Constructed with single value and n_component +DEAL::3.276800e+04 +DEAL::3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL::3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 3.276800e+04 +DEAL:: +In 3 dimension, Function with 7 components, Constructed with std::vector: +DEAL::1.000000e+00 +DEAL::6.700000e-04 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +In 3 dimension, Function with 7 components, Constructed with Vector: +DEAL::1.000000e+00 +DEAL::6.700000e-04 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +In 3 dimension, Function with 7 components, Constructed with pointer and offset: +DEAL::1.000000e+00 +DEAL::6.700000e-04 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL:: +DEAL::1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 +DEAL::9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 9.820000e+01 +DEAL:: +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 +DEAL::1.000000e+00 2.550000e+02 3.276800e+04 9.820000e+01 7.500000e+01 7.900000e+08 6.700000e-04 -- 2.39.5