repo
stringlengths
1
152
file
stringlengths
14
221
code
stringlengths
501
25k
file_length
int64
501
25k
avg_line_length
float64
20
99.5
max_line_length
int64
21
134
extension_type
stringclasses
2 values
DPGSolver
DPGSolver-master/deprecated/src/compute_VOLUME_RLHS_HDG.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #include "compute_VOLUME_RLHS_HDG.h" #include <stdlib.h> #include <stdio.h> #include <stdbool.h> #include "Macros.h" #include "S_DB.h" #include "S_VOLUME.h" #include "solver.h" #include "solver_fun...
2,752
30.284091
116
c
DPGSolver
DPGSolver-master/deprecated/src/setup_geom_factors.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #include "setup_geom_factors.h" #include <stdlib.h> #include <stdio.h> #include <math.h> #include "Parameters.h" #include "Macros.h" #include "S_DB.h" #include "S_ELEMENT.h" #include "S_VOLUME.h" #i...
10,380
30.362538
114
c
DPGSolver
DPGSolver-master/deprecated/src/explicit_VOLUME_info_c.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #include "explicit_VOLUME_info_c.h" #include "S_VOLUME.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include <complex.h> #include <stdbool.h> #include "Parameters.h" #include "Macro...
6,708
26.609053
112
c
DPGSolver
DPGSolver-master/deprecated/src/containers_c.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #include "containers_c.h" #include <stddef.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <stdbool.h> #include "Macros.h" #include "multiarray.h" struct Multiarray_c* cons...
893
20.804878
95
c
DPGSolver
DPGSolver-master/deprecated/src/simulation.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) /** \file */ #include "simulation.h" #include <stdlib.h> #include <string.h> #include <limits.h> #include <stdbool.h> #include "Macros.h" #include "element.h" #include "volume.h" #include "face.h" ...
9,312
32.865455
120
c
DPGSolver
DPGSolver-master/deprecated/src/jacobian_fluxes_viscous.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #include "jacobian_fluxes_viscous.h" #include <stdlib.h> #include <stdio.h> #include <math.h> #include "Parameters.h" #include "Macros.h" #include "S_DB.h" #include "fluxes_structs.h" /* * Purpos...
23,756
32.460563
113
c
DPGSolver
DPGSolver-master/deprecated/src/mesh.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) /** \file * \brief Reads a mesh file and returns relevant data as part of \todo Complete this. */ #include "mesh.h" #include "intrusive.h" #include "mesh_readers.h" #include "mesh_connectivity.h" ...
2,056
30.646154
120
c
DPGSolver
DPGSolver-master/deprecated/src/mesh_geometry_cylinder_hollow_section.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) /** \file */ #include "mesh_geometry_cylinder_hollow_section.h" #include "vector.h" #include "matrix.h" #include <stdlib.h> #include <math.h> #include <string.h> #include "Macros.h" #include "const...
2,966
28.67
120
c
DPGSolver
DPGSolver-master/deprecated/src/plotting_element_info.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #include "plotting_element_info.h" #include <stdlib.h> #include <stdio.h> #include <math.h> #include "mkl.h" #include "Parameters.h" #include "Macros.h" #include "matrix_functions.h" /* * Purpos...
19,296
25.326057
112
c
DPGSolver
DPGSolver-master/deprecated/src/solver.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #include "solver.h" #include <stdbool.h> #include "petscmat.h" #include "S_VOLUME.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include "Parameters.h" #include "Macros.h" #include "...
14,494
24.791815
120
c
DPGSolver
DPGSolver-master/deprecated/src/setup_normals.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #include "setup_normals.h" #include <stdlib.h> #include <stdio.h> #include <math.h> #include "Parameters.h" #include "S_DB.h" #include "S_ELEMENT.h" #include "S_VOLUME.h" #include "S_FACE.h" #inclu...
4,644
24.382514
113
c
DPGSolver
DPGSolver-master/deprecated/src/array_sort.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #include "array_sort.h" #include <stdlib.h> #include <stdio.h> #include "mkl.h" #include "petscsys.h" #include "Macros.h" /* * Purpose: * Sort multidimensional arrays maintaining fixed columns,...
12,249
32.469945
119
c
DPGSolver
DPGSolver-master/deprecated/src/finalize_RHS_c.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #include "finalize_RHS_c.h" #include "S_VOLUME.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include <complex.h> #include <stdbool.h> #include "petscvec.h" #include "Parameters.h" ...
4,285
21.797872
107
c
DPGSolver
DPGSolver-master/deprecated/src/solver_explicit.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #include "solver_explicit.h" #include <stdlib.h> #include <stdio.h> #include <math.h> #include <string.h> #include <unistd.h> #include <stdbool.h> #include "Parameters.h" #include "Macros.h" #includ...
16,742
29.167568
119
c
DPGSolver
DPGSolver-master/deprecated/src/setup_connectivity.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #include "setup_connectivity.h" #include <stdlib.h> #include <stdio.h> #include "petscsys.h" #include "Macros.h" #include "S_DB.h" #include "S_ELEMENT.h" #include "array_sort.h" #include "array_pr...
11,202
28.023316
112
c
DPGSolver
DPGSolver-master/deprecated/src/test_integration_Advection.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #include "test_integration_Advection.h" #include <stdlib.h> #include <stdio.h> #include "Parameters.h" #include "Macros.h" #include "test_code_integration_conv_order.h" #include "test_code_integrat...
3,528
40.034884
107
c
DPGSolver
DPGSolver-master/deprecated/src/volume.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) /** \file */ #include "volume.h" #include "constants_elements.h" #include "intrusive.h" #include <stdlib.h> #include <stdbool.h> #include "Macros.h" #include "constants_mesh.h" #include "constants_...
9,348
35.807087
120
c
DPGSolver
DPGSolver-master/deprecated/src/data_processing/output_convergence_orders.c
/* {{{ This file is part of DPGSolver. DPGSolver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. DPGSolver is distributed in the hope that it will be useful...
9,784
28.035608
118
c
DPGSolver
DPGSolver-master/deprecated/src/support_functions/output_mm_CTN_d.c
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #include <stdlib.h> #include <stdio.h> #include <string.h> /* * Purpose: * Output fully unrolled code for mv multiplications. * * Comments: * * Notation: * * References: * */ #define STRL...
3,457
21.900662
132
c
DPGSolver
DPGSolver-master/deprecated/include/array_free.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__array_free_h__INCLUDED #define DPG__array_free_h__INCLUDED #include <stddef.h> #include <complex.h> #include "S_OpCSR.h" #include "matrix_structs.h" extern void array_free2_c (size...
1,670
52.903226
130
h
DPGSolver
DPGSolver-master/deprecated/include/mesh.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__mesh_h__INCLUDED #define DPG__mesh_h__INCLUDED /** \file * \brief Provides an interface for reading a mesh file. * * Relevant data is returned as part of \ref Mesh. * * Supported inp...
2,868
38.30137
118
h
DPGSolver
DPGSolver-master/deprecated/include/finalize_LHS.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__finalize_LHS_h__INCLUDED #define DPG__finalize_LHS_h__INCLUDED #include "petscvec.h" #include "petscmat.h" extern double finalize_LHS (Mat *A, Vec *b, Vec *x, const unsigned int assem...
709
38.444444
88
h
DPGSolver
DPGSolver-master/deprecated/include/matrix_structs.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__matrix_structs_h__INCLUDED #define DPG__matrix_structs_h__INCLUDED #include <stdbool.h> #include <stddef.h> struct S_MATRIX { /* * Purpose: * Defines a struct to support dense (do...
4,750
49.010526
125
h
DPGSolver
DPGSolver-master/deprecated/include/file_processing.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__file_processing_h__INCLUDED #define DPG__file_processing_h__INCLUDED /** \file * Provides file processing related functions. */ #include <stdio.h> #include <stdbool.h> #include <stddef...
4,291
35.683761
120
h
DPGSolver
DPGSolver-master/deprecated/include/vector.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__Vector_h__INCLUDED #define DPG__Vector_h__INCLUDED /** \file * \brief Provides Vector_\* containers and related functions. * * Potentially relevant comments may be found in containers....
5,618
30.044199
120
h
DPGSolver
DPGSolver-master/deprecated/include/test_integration_Advection.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__test_integration_Advection_h__INCLUDED #define DPG__test_integration_Advection_h__INCLUDED /// \file /** \brief Test various aspects of the Advection solver implementation. * * This cu...
895
36.333333
117
h
DPGSolver
DPGSolver-master/deprecated/include/allocators.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__allocators_h__INCLUDED #define DPG__allocators_h__INCLUDED /// \file #include <stddef.h> /// \brief Specifies the type of the variable to be used in allocator functions. enum TYPE { CH...
1,386
24.685185
93
h
DPGSolver
DPGSolver-master/deprecated/include/element.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__Element_h__INCLUDED #define DPG__Element_h__INCLUDED /** \file * Provides the interface for the base \ref Element container and associated functions. * * \note `const` and non-`const` ...
2,466
32.337838
120
h
DPGSolver
DPGSolver-master/deprecated/include/explicit_info_c.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__template_h__INCLUDED #define DPG__template_h__INCLUDED #include "Parameters.h" #include "S_VOLUME.h" #include "S_FACE.h" struct S_LOCAL_MESH_ELEMENTS { unsigned int NVl, NFl; struct ...
898
36.458333
120
h
DPGSolver
DPGSolver-master/deprecated/include/array_print.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__array_print_h__INCLUDED #define DPG__array_print_h__INCLUDED #include <complex.h> #include "matrix_structs.h" extern void array_print_ui (const unsigned int m, const unsigned int n,...
1,374
56.291667
119
h
DPGSolver
DPGSolver-master/deprecated/include/fluxes_structs.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__fluxes_structs_h__INCLUDED #define DPG__fluxes_structs_h__INCLUDED #include <complex.h> #include "matrix_structs.h" struct S_FLUX { unsigned int d, Nn, Nel, PDE_index; double const *...
1,119
24.454545
86
h
DPGSolver
DPGSolver-master/deprecated/include/containers_c.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__containers_c_h__INCLUDED #define DPG__containers_c_h__INCLUDED /** \file * \brief Provides containers and related functions for `complex` datatypes. * * \see Multiarray_d provides the ...
794
23.84375
96
h
DPGSolver
DPGSolver-master/deprecated/include/solver.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__solver_h__INCLUDED #define DPG__solver_h__INCLUDED #include <stdbool.h> #include "petscmat.h" #include "S_DB.h" // For constructor_Simulation (ToBeDeleted) #include "S_VOLUME.h" struct...
3,822
42.443182
113
h
DPGSolver
DPGSolver-master/deprecated/include/solver_functions_c.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__solver_functions_c_h__INCLUDED #define DPG__solver_functions_c_h__INCLUDED #include <complex.h> #include "solver_functions.h" // VOLUME functions extern void coef_to_values_vI_c (st...
3,252
57.089286
120
h
DPGSolver
DPGSolver-master/deprecated/include/test_code_boundary_conditions.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__test_code_boundary_conditions_h__INCLUDED #define DPG__test_code_boundary_conditions_h__INCLUDED #include <stdbool.h> extern void set_BTypes (unsigned int *...
897
51.823529
116
h
DPGSolver
DPGSolver-master/deprecated/include/solver_functions_HDG.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__solver_functions_HDG_h__INCLUDED #define DPG__solver_functions_HDG_h__INCLUDED #include "matrix_structs.h" #include "fluxes_structs.h" #include "S_VOLUME.h" extern void convert_to_multi...
1,563
40.157895
120
h
DPGSolver
DPGSolver-master/deprecated/include/boundary_conditions.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__boundary_conditions_h__INCLUDED #define DPG__boundary_conditions_h__INCLUDED #include <stdbool.h> #include <complex.h> struct S_BC { bool ComputeQ; unsigned int d, Nn, Nel, BC...
1,306
28.044444
104
h
DPGSolver
DPGSolver-master/deprecated/include/simulation.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__Simulation_h__INCLUDED #define DPG__Simulation_h__INCLUDED /** \file * \brief Provides the struct for top-level simulation related information and its associated functions. */ #include...
6,805
46.594406
119
h
DPGSolver
DPGSolver-master/deprecated/include/exact_solutions.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__exact_solutions_h__INCLUDED #define DPG__exact_solutions_h__INCLUDED extern void compute_exact_solution (const unsigned int Nn, const double *XYZ, double *UEx, const unsigned int solved)...
553
45.166667
118
h
DPGSolver
DPGSolver-master/deprecated/include/update_VOLUMEs.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__update_VOLUMEs_h__INCLUDED #define DPG__update_VOLUMEs_h__INCLUDED #include "S_VOLUME.h" extern void update_VOLUME_hp (void); extern void update_VOLUME_list (void); extern vo...
588
30
82
h
DPGSolver
DPGSolver-master/deprecated/include/memory_destructors.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__memory_destructors_h__INCLUDED #define DPG__memory_destructors_h__INCLUDED #include "S_ELEMENT.h" #include "S_VOLUME.h" #include "S_FACE.h" extern void memory_destructor_E ...
606
32.722222
82
h
DPGSolver
DPGSolver-master/deprecated/include/S_DB.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__S_DB_h__INCLUDED #define DPG__S_DB_h__INCLUDED #include <stdbool.h> struct S_DB { // Time double time_total; // MPI and PETSC int MPIsize, MPIrank; // Initialization char ...
2,599
34.616438
118
h
DPGSolver
DPGSolver-master/deprecated/include/sum_factorization.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__sum_factorization_h__INCLUDED #define DPG__sum_factorization_h__INCLUDED extern void get_sf_parameters (const unsigned int NIn0, const unsigned int NOut0, double const *const OP0, ...
3,692
89.073171
118
h
DPGSolver
DPGSolver-master/deprecated/include/matrix_functions.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__matrix_functions_h__INCLUDED #define DPG__matrix_functions_h__INCLUDED #include <complex.h> #include "mkl.h" #include "S_OpCSR.h" #include "matrix_structs.h" extern double *diag_d ...
4,255
68.770492
125
h
DPGSolver
DPGSolver-master/deprecated/include/mesh_geometry_cylinder_hollow_section.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__mesh_geometry_cylinder_hollow_section_h__INCLUDED #define DPG__mesh_geometry_cylinder_hollow_section_h__INCLUDED /** \file * \todo Add general comments for the header file here. */ str...
826
38.380952
95
h
DPGSolver
DPGSolver-master/deprecated/include/initialize_test_case.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__initialize_test_case_h__INCLUDED #define DPG__initialize_test_case_h__INCLUDED extern void initialize_test_case (const unsigned int adapt_update_MAX); extern void initialize_t...
519
42.333333
121
h
DPGSolver
DPGSolver-master/deprecated/include/test_code_fluxes.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__test_code_fluxes_h__INCLUDED #define DPG__test_code_fluxes_h__INCLUDED extern double *initialize_W (unsigned int *Nn, unsigned int *Nel, const unsigned int d); extern double ...
1,117
57.842105
100
h
DPGSolver
DPGSolver-master/deprecated/include/const_cast.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__const_cast_h__INCLUDED #define DPG__const_cast_h__INCLUDED /** \file * \brief Provides functions for casting to const lvalues for standard datatypes. * * Variables with standard dataty...
1,390
31.348837
120
h
DPGSolver
DPGSolver-master/deprecated/include/solver_c.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__solver_c_h__INCLUDED #define DPG__solver_c_h__INCLUDED /** \file * \brief Provide solver related functions for complex datatypes. */ struct Simulation; struct S_solver_info; struct El...
2,500
36.328358
104
h
DPGSolver
DPGSolver-master/deprecated/include/select_functions.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__select_functions_h__INCLUDED #define DPG__select_functions_h__INCLUDED #include "cubature.h" #include "bases.h" #include "matrix_structs.h" extern void select_functions (basi...
877
45.210526
113
h
DPGSolver
DPGSolver-master/deprecated/include/mesh_vertices.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__mesh_vertices_h__INCLUDED #define DPG__mesh_vertices_h__INCLUDED /** \file * Provides the interface to mesh vertex containers and functions. */ #include "mesh.h" /// \brief Container ...
1,579
41.702703
119
h
DPGSolver
DPGSolver-master/deprecated/include/Test.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__Test_h__INCLUDED #define DPG__Test_h__INCLUDED #include <stdbool.h> #include <limits.h> #define TEST_N_RIEMANN 4 #define TEST_N_LF 2 #define TEST_N_ROE 4 #define...
997
24.589744
82
h
DPGSolver
DPGSolver-master/deprecated/include/intrusive.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__Intrusive_h__INCLUDED #define DPG__Intrusive_h__INCLUDED /** \file * * The data structures used here were inspired by the intrusive container example from ch. 27.9 of Stroustrup * \cit...
3,003
32.752809
120
h
DPGSolver
DPGSolver-master/deprecated/include/test_code_integration_conv_order.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__test_code_integration_conv_order_h__INCLUDED #define DPG__test_code_integration_conv_order_h__INCLUDED #include <stdbool.h> struct S_convorder { bool PrintEnabled, SolveExplici...
678
34.736842
100
h
DPGSolver
DPGSolver-master/deprecated/include/Parameters.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__Parameters_h__INCLUDED #define DPG__Parameters_h__INCLUDED /* * Purpose: * Define parameters. * * Comments: * See gmsh_reader.c for further discussion regarding periodic related m...
4,662
25.196629
115
h
DPGSolver
DPGSolver-master/deprecated/include/math_functions.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__math_functions_h__INCLUDED #define DPG__math_functions_h__INCLUDED /** \file * \brief Provide several standard math functions. * * <!-- References: --> * Press(1992,2nd edition) - Num...
1,510
28.627451
95
h
DPGSolver
DPGSolver-master/deprecated/include/vertices_to_exact_geom.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__vertices_to_exact_geom_h__INCLUDED #define DPG__vertices_to_exact_geom_h__INCLUDED #include "S_VOLUME.h" typedef double (*surface_tdef) (const double x, const double y, const unsign...
808
41.578947
120
h
DPGSolver
DPGSolver-master/deprecated/include/test_code_bases.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__test_code_bases_h__INCLUDED #define DPG__test_code_bases_h__INCLUDED extern void get_scaling_basis_TRI (const unsigned int i, const unsigned int j, const double b, ...
1,079
62.529412
132
h
DPGSolver
DPGSolver-master/deprecated/include/setup_operators_support.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__setup_operators_support_h__INCLUDED #define DPG__setup_operators_support_h__INCLUDED #include "S_ELEMENT.h" struct S_OP_RANGE { char type_op; unsigned int EType; enum type_range { P...
2,235
40.407407
117
h
DPGSolver
DPGSolver-master/deprecated/include/constants_core.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__constants_core_h__INCLUDED #define DPG__constants_core_h__INCLUDED /** \file * Define core constants. */ ///\{ \name The maximum number of dimensions #define DMAX 3 ///\} ///\{ \name ...
501
22.904762
92
h
DPGSolver
DPGSolver-master/deprecated/include/mesh_readers.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__mesh_readers_h__INCLUDED #define DPG__mesh_readers_h__INCLUDED /** \file * Provides the interface to mesh reader containers and functions. */ #include <stddef.h> #include "multiarray....
2,189
37.421053
116
h
DPGSolver
DPGSolver-master/deprecated/include/matrix.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__Matrix_h__INCLUDED #define DPG__Matrix_h__INCLUDED /** \file * \brief Provides Matrix_\* containers and related functions. * * Potentially relevant comments may be found in containers....
5,194
26.930108
120
h
DPGSolver
DPGSolver-master/deprecated/include/constants_bc.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__constants_bc_h__INCLUDED #define DPG__constants_bc_h__INCLUDED /** \file * Define constants associated with the boundary conditions. * * The naming convention for the periodic boundary...
1,357
25.115385
117
h
DPGSolver
DPGSolver-master/deprecated/include/test_code_integration_equivalence_real_complex.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__test_code_integration_equivalence_real_complex_h__INCLUDED #define DPG__test_code_integration_equivalence_real_complex_h__INCLUDED #include <stdbool.h> struct S_equivalence_rc { bool ...
673
34.473684
108
h
DPGSolver
DPGSolver-master/deprecated/include/test_code_integration_equivalence_algorithms.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__test_code_integration_equivalence_algorithms_h__INCLUDED #define DPG__test_code_integration_equivalence_algorithms_h__INCLUDED #include <stdbool.h> struct S_equivalence_algs { bool ...
645
33
108
h
DPGSolver
DPGSolver-master/deprecated/include/adaptation.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__adaptation_h__INCLUDED #define DPG__adaptation_h__INCLUDED #include <stddef.h> #include "S_VOLUME.h" extern void adapt_hp (void); extern void mesh_update ...
1,265
45.888889
133
h
DPGSolver
DPGSolver-master/deprecated/include/test_code_mm_CTN.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__test_code_mm_CTN_h__INCLUDED #define DPG__test_code_mm_CTN_h__INCLUDED extern void mm_CTN_mv_fully_unrolled_d (const int m, const int n, const int k, double *A, double *B, double *C); ex...
702
53.076923
112
h
DPGSolver
DPGSolver-master/deprecated/include/boundary_conditions_c.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__boundary_conditions_c_h__INCLUDED #define DPG__boundary_conditions_c_h__INCLUDED #include <complex.h> #include "boundary_conditions.h" extern void set_BC_from_BType (struct ...
582
33.294118
94
h
DPGSolver
DPGSolver-master/deprecated/include/mesh_periodic.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__mesh_periodic_h__INCLUDED #define DPG__mesh_periodic_h__INCLUDED /** \file * Provides the interface to mesh periodic containers and functions. */ #include "mesh_connectivity.h" /** \b...
825
34.913043
114
h
DPGSolver
DPGSolver-master/deprecated/include/setup_Curved.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__setup_Curved_h__INCLUDED #define DPG__setup_Curved_h__INCLUDED #include "S_VOLUME.h" extern void setup_Curved (struct S_VOLUME *VOLUME); extern void setup_Curved_vertice...
837
45.555556
125
h
DPGSolver
DPGSolver-master/deprecated/include/S_FACE.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__S_FACE_h__INCLUDED #define DPG__S_FACE_h__INCLUDED /* * Comments: * A FACE is a d-1 dimensional ELEMENT which exists on each face of the VOLUMEs in the mesh. * * Notation: (ToBeModif...
4,159
39.784314
115
h
DPGSolver
DPGSolver-master/deprecated/include/test_integration_Euler.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__test_integration_Euler_h__INCLUDED #define DPG__test_integration_Euler_h__INCLUDED /// \file /** \brief Test various aspects of the Euler solver implementation. * * This currently incl...
1,020
38.269231
117
h
DPGSolver
DPGSolver-master/deprecated/include/solver_implicit.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__solver_implicit_h__INCLUDED #define DPG__solver_implicit_h__INCLUDED #include <stdbool.h> #include "petscksp.h" #include "petscvec.h" extern void solver_implicit (bool const PrintEnabl...
644
31.25
106
h
DPGSolver
DPGSolver-master/deprecated/include/variable_functions.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__variable_functions_h__INCLUDED #define DPG__variable_functions_h__INCLUDED extern void convert_variables (const double *const VarIn, double *const VarOut, const unsigned int dIn, ...
711
49.857143
103
h
DPGSolver
DPGSolver-master/deprecated/include/solver_symmetric_functions.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__solver_symmetric_functions_h__INCLUDED #define DPG__solver_symmetric_functions_h__INCLUDED #include "solver.h" #include "S_VOLUME.h" extern void correct_collocated_for_symmetry_local (s...
667
40.75
111
h
DPGSolver
DPGSolver-master/deprecated/include/test_integration_linearization.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__test_integration_linearization_h__INCLUDED #define DPG__test_integration_linearization_h__INCLUDED /** \file * Provides functionality for integration testing of the solver linearization....
2,209
44.102041
118
h
DPGSolver
DPGSolver-master/deprecated/include/variable_functions_c.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__variable_functions_c_h__INCLUDED #define DPG__variable_functions_c_h__INCLUDED #include <complex.h> extern void convert_variables_c (const double complex *const VarIn, double complex *...
585
38.066667
104
h
DPGSolver
DPGSolver-master/deprecated/include/test_integration_Poisson.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__test_integration_Poisson_h__INCLUDED #define DPG__test_integration_Poisson_h__INCLUDED /// \file /** \brief Test various aspects of the Poisson solver implementation. * * This currentl...
4,760
64.219178
119
h
DPGSolver
DPGSolver-master/deprecated/include/face.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__Face_h__INCLUDED #define DPG__Face_h__INCLUDED /** \file * Provides the interface for the base \ref Face container and associated functions. * * A \ref Face is a `d-1` dimensional fini...
4,793
46.94
120
h
DPGSolver
DPGSolver-master/deprecated/include/test_integration_NavierStokes.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__test_integration_NavierStokes_h__INCLUDED #define DPG__test_integration_NavierStokes_h__INCLUDED /// \file /** \brief Test various aspects of the Poisson solver implementation. * * Thi...
884
33.038462
119
h
DPGSolver
DPGSolver-master/deprecated/include/memory_constructors_matrix.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__memory_constructors_matrix_h__INCLUDED #define DPG__memory_constructors_matrix_h__INCLUDED #include "matrix_structs.h" #include "setup_operators_support.h" extern void move_pointers_mat...
1,012
49.65
116
h
DPGSolver
DPGSolver-master/deprecated/include/cubature.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__cubature_h__INCLUDED #define DPG__cubature_h__INCLUDED #include <stdbool.h> struct S_CUBATURE { bool return_w, return_symm; char const *NodeType; unsigned int Nn, Ns, P, d, ...
1,433
38.833333
119
h
DPGSolver
DPGSolver-master/deprecated/include/solver_functions.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__solver_functions_h__INCLUDED #define DPG__solver_functions_h__INCLUDED #include <stdbool.h> #include <complex.h> #include "S_VOLUME.h" #include "S_FACE.h" #include "S_OpCSR.h" #include ...
6,289
40.655629
120
h
DPGSolver
DPGSolver-master/deprecated/include/fluxes_inviscid.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__fluxes_inviscid_h__INCLUDED #define DPG__fluxes_inviscid_h__INCLUDED #include "fluxes_structs.h" extern void flux_inviscid (struct S_FLUX *const FLUXDATA); extern void flux_num_invi...
546
33.1875
82
h
DPGSolver
DPGSolver-master/deprecated/include/constants_elements.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__constants_elements_h__INCLUDED #define DPG__constants_elements_h__INCLUDED /** \file * Define constants associated with elements. * * The more extensive list of the element types suppo...
1,436
34.04878
117
h
DPGSolver
DPGSolver-master/deprecated/include/plotting_element_info.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__plotting_element_info_h__INCLUDED #define DPG__plotting_element_info_h__INCLUDED extern void plotting_element_info (double **rst, unsigned int **connect, unsigned int **types, unsigned i...
506
45.090909
120
h
DPGSolver
DPGSolver-master/deprecated/include/mesh_connectivity.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__mesh_connectivity_h__INCLUDED #define DPG__mesh_connectivity_h__INCLUDED /** \file * Provides the interface to mesh connectivity containers and functions. */ #include "mesh_readers.h" ...
2,261
36.081967
113
h
DPGSolver
DPGSolver-master/deprecated/include/jacobian_fluxes_inviscid.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__jacobian_fluxes_inviscid_h__INCLUDED #define DPG__jacobian_fluxes_inviscid_h__INCLUDED #include "fluxes_structs.h" extern void jacobian_flux_inviscid (struct S_FLUX *const FLUXDATA)...
537
34.866667
83
h
DPGSolver
DPGSolver-master/deprecated/include/volume.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__Volume_h__INCLUDED #define DPG__Volume_h__INCLUDED /** \file * Provides the interface for the base \ref Volume container and associated functions. * * A \ref Volume is a `d` dimensiona...
3,024
40.438356
120
h
DPGSolver
DPGSolver-master/deprecated/include/S_VOLUME.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__S_VOLUME_h__INCLUDED #define DPG__S_VOLUME_h__INCLUDED /// \file #include <complex.h> #include "matrix_structs.h" #include "S_ELEMENT.h" /** \brief Struct holding data related to the b...
1,468
25.232143
85
h
DPGSolver
DPGSolver-master/deprecated/include/test_code_integration.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__test_code_integration_h__INCLUDED #define DPG__test_code_integration_h__INCLUDED /// \file #include <stdbool.h> void code_startup (const int nargc, ///< Standard. con...
1,932
52.694444
114
h
DPGSolver
DPGSolver-master/deprecated/include/element_functions.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__element_functions_h__INCLUDED #define DPG__element_functions_h__INCLUDED extern void initialize_ELEMENTs (void); extern void finalize_ELEMENTs (void); extern un...
959
52.333333
100
h
DPGSolver
DPGSolver-master/deprecated/include/test_code_integration_linearization.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__test_code_integration_linearization_h__INCLUDED #define DPG__test_code_integration_linearization_h__INCLUDED /// \file #include <stdbool.h> #include "petscmat.h" /** \brief Container f...
4,316
51.012048
118
h
DPGSolver
DPGSolver-master/deprecated/include/S_ELEMENT.h
// Copyright 2017 Philip Zwanenburg // MIT License (https://github.com/PhilipZwanenburg/DPGSolver/blob/master/LICENSE) #ifndef DPG__S_ELEMENT_h__INCLUDED #define DPG__S_ELEMENT_h__INCLUDED #include <stdbool.h> #include "S_OpCSR.h" #include "matrix_structs.h" #include "simulation.h" /** \brief Struct holding data ...
4,086
38.679612
131
h
DPGSolver
DPGSolver-master/external/ANN_Chan/src_modified/main.c
// Converting to c and cleaning up. // May not be working in its current state. Verify with version implemented as part of the main code if it is desired to // check something here. #include <assert.h> #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <float.h> #include <limits.h> #include <math.h>...
10,641
29.147309
120
c
DPGSolver
DPGSolver-master/external/jacobi_Jabardo/jacobi-0.9.2/src/jacobi.h
/* jacobi.h * Copyright (C) 2006 Paulo José Saiz Jabardo * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * *...
9,489
43.553991
111
h
DPGSolver
DPGSolver-master/external/jacobi_Jabardo/jacobi-0.9.2/src/interface.c
/* jacobi.c * Copyright (C) 2006 Paulo José Saiz Jabardo * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * T...
9,709
25.749311
118
c
DPGSolver
DPGSolver-master/external/jacobi_Jabardo/jacobi-0.9.2/src/gauss_quad.c
/* gauss_quad.c * * Copyright (C) 2006 Paulo José Saiz Jabardo * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. ...
22,786
27.844304
131
c
DPGSolver
DPGSolver-master/src/template.c
/* {{{ This file is part of DPGSolver. DPGSolver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. DPGSolver is distributed in the hope that it will be useful...
1,219
38.354839
120
c
DPGSolver
DPGSolver-master/src/macros.h
/* {{{ This file is part of DPGSolver. DPGSolver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. DPGSolver is distributed in the hope that it will be useful...
2,392
35.815385
114
h