Commit 7ee9153f authored by Steffen Schotthöfer's avatar Steffen Schotthöfer
Browse files

added lookup tables


Former-commit-id: 0e85f03f
parent e56f52d3
#include "quadratures/qldfesa.h"
//#include "quadratures/lookuptable_ldfesa.h"
#include "quadratures/lookuptable_ldfesa.h"
#include "toolboxes/errormessages.h"
QLDFESA::QLDFESA( Config* settings ) : QLookupQuadrature( settings ) {
......@@ -34,9 +34,9 @@ std::string QLDFESA::GetLookupTable() {
unsigned char* lookupTable = nullptr;
switch( _order ) {
// case 1: lookupTable = __1_ldfesa_txt; break;
// case 2: lookupTable = __2_ldfesa_txt; break;
// case 3: lookupTable = __3_ldfesa_txt; break;
case 1: lookupTable = __1_ldfesa_txt; break;
case 2: lookupTable = __2_ldfesa_txt; break;
case 3: lookupTable = __3_ldfesa_txt; break;
default: ErrorMessages::Error( "Invalid quadrature order chosen!", CURRENT_FUNCTION );
}
......
#include "quadratures/qlebedev.h"
//#include "quadratures/lookuptable_lebedev.h"
#include "quadratures/lookuptable_lebedev.h"
#include "toolboxes/errormessages.h"
QLebedev::QLebedev( Config* settings ) : QLookupQuadrature( settings ) {
......@@ -37,38 +37,38 @@ std::string QLebedev::GetLookupTable() {
unsigned char* lookupTable = nullptr;
switch( _order ) {
// case 3: lookupTable = __3_lebedev_txt; break;
// case 5: lookupTable = __5_lebedev_txt; break;
// case 7: lookupTable = __7_lebedev_txt; break;
// case 9: lookupTable = __9_lebedev_txt; break;
// case 11: lookupTable = __11_lebedev_txt; break;
// case 13: lookupTable = __13_lebedev_txt; break;
// case 15: lookupTable = __15_lebedev_txt; break;
// case 17: lookupTable = __17_lebedev_txt; break;
// case 19: lookupTable = __19_lebedev_txt; break;
// case 21: lookupTable = __21_lebedev_txt; break;
// case 23: lookupTable = __23_lebedev_txt; break;
// case 25: lookupTable = __25_lebedev_txt; break;
// case 27: lookupTable = __27_lebedev_txt; break;
// case 29: lookupTable = __29_lebedev_txt; break;
// case 31: lookupTable = __31_lebedev_txt; break;
// case 35: lookupTable = __35_lebedev_txt; break;
// case 41: lookupTable = __41_lebedev_txt; break;
// case 47: lookupTable = __47_lebedev_txt; break;
// case 53: lookupTable = __53_lebedev_txt; break;
// case 59: lookupTable = __59_lebedev_txt; break;
// case 65: lookupTable = __65_lebedev_txt; break;
// case 71: lookupTable = __71_lebedev_txt; break;
// case 77: lookupTable = __77_lebedev_txt; break;
// case 83: lookupTable = __83_lebedev_txt; break;
// case 89: lookupTable = __89_lebedev_txt; break;
// case 95: lookupTable = __95_lebedev_txt; break;
// case 101: lookupTable = __101_lebedev_txt; break;
// case 107: lookupTable = __107_lebedev_txt; break;
// case 113: lookupTable = __113_lebedev_txt; break;
// case 119: lookupTable = __119_lebedev_txt; break;
// case 125: lookupTable = __125_lebedev_txt; break;
// case 131: lookupTable = __131_lebedev_txt; break;
case 3: lookupTable = __3_lebedev_txt; break;
case 5: lookupTable = __5_lebedev_txt; break;
case 7: lookupTable = __7_lebedev_txt; break;
case 9: lookupTable = __9_lebedev_txt; break;
case 11: lookupTable = __11_lebedev_txt; break;
case 13: lookupTable = __13_lebedev_txt; break;
case 15: lookupTable = __15_lebedev_txt; break;
case 17: lookupTable = __17_lebedev_txt; break;
case 19: lookupTable = __19_lebedev_txt; break;
case 21: lookupTable = __21_lebedev_txt; break;
case 23: lookupTable = __23_lebedev_txt; break;
case 25: lookupTable = __25_lebedev_txt; break;
case 27: lookupTable = __27_lebedev_txt; break;
case 29: lookupTable = __29_lebedev_txt; break;
case 31: lookupTable = __31_lebedev_txt; break;
case 35: lookupTable = __35_lebedev_txt; break;
case 41: lookupTable = __41_lebedev_txt; break;
case 47: lookupTable = __47_lebedev_txt; break;
case 53: lookupTable = __53_lebedev_txt; break;
case 59: lookupTable = __59_lebedev_txt; break;
case 65: lookupTable = __65_lebedev_txt; break;
case 71: lookupTable = __71_lebedev_txt; break;
case 77: lookupTable = __77_lebedev_txt; break;
case 83: lookupTable = __83_lebedev_txt; break;
case 89: lookupTable = __89_lebedev_txt; break;
case 95: lookupTable = __95_lebedev_txt; break;
case 101: lookupTable = __101_lebedev_txt; break;
case 107: lookupTable = __107_lebedev_txt; break;
case 113: lookupTable = __113_lebedev_txt; break;
case 119: lookupTable = __119_lebedev_txt; break;
case 125: lookupTable = __125_lebedev_txt; break;
case 131: lookupTable = __131_lebedev_txt; break;
default: ErrorMessages::Error( "Invalid quadrature order chosen!", CURRENT_FUNCTION );
}
......
#include "quadratures/qlevelsymmetric.h"
//#include "quadratures/lookuptable_levelsymmetric.h"
#include "quadratures/lookuptable_levelsymmetric.h"
#include "toolboxes/errormessages.h"
QLevelSymmetric::QLevelSymmetric( Config* settings ) : QLookupQuadrature( settings ) {
......@@ -35,16 +35,16 @@ std::string QLevelSymmetric::GetLookupTable() {
unsigned char* lookupTable = nullptr;
switch( _order ) {
// case 2: lookupTable = __2_levelsym_txt; break;
// case 4: lookupTable = __4_levelsym_txt; break;
// case 6: lookupTable = __6_levelsym_txt; break;
// case 8: lookupTable = __8_levelsym_txt; break;
// case 10: lookupTable = __10_levelsym_txt; break;
// case 12: lookupTable = __12_levelsym_txt; break;
// case 14: lookupTable = __14_levelsym_txt; break;
// case 16: lookupTable = __16_levelsym_txt; break;
// case 18: lookupTable = __18_levelsym_txt; break;
// case 20: lookupTable = __20_levelsym_txt; break;
case 2: lookupTable = __2_levelsym_txt; break;
case 4: lookupTable = __4_levelsym_txt; break;
case 6: lookupTable = __6_levelsym_txt; break;
case 8: lookupTable = __8_levelsym_txt; break;
case 10: lookupTable = __10_levelsym_txt; break;
case 12: lookupTable = __12_levelsym_txt; break;
case 14: lookupTable = __14_levelsym_txt; break;
case 16: lookupTable = __16_levelsym_txt; break;
case 18: lookupTable = __18_levelsym_txt; break;
case 20: lookupTable = __20_levelsym_txt; break;
default: ErrorMessages::Error( "Invalid quadrature order chosen!", CURRENT_FUNCTION );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment