Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
418e1329
There was an error fetching the commit references. Please try again later.
Commit
418e1329
authored
6 years ago
by
Jakub Klinkovský
Browse files
Options
Downloads
Patches
Plain Diff
Hamilton-Jacobi: disabled float and unused specializations of grid to speed up the compilation
parent
bc397f52
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/TNL/Experimental/Hamilton-Jacobi/Solvers/hamilton-jacobi/MainBuildConfig.h
+20
-1
20 additions, 1 deletion
...Hamilton-Jacobi/Solvers/hamilton-jacobi/MainBuildConfig.h
with
20 additions
and
1 deletion
src/TNL/Experimental/Hamilton-Jacobi/Solvers/hamilton-jacobi/MainBuildConfig.h
+
20
−
1
View file @
418e1329
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
#pragma once
#pragma once
#include
<TNL/Solvers/BuildConfigTags.h>
#include
<TNL/Solvers/BuildConfigTags.h>
#include
<TNL/Meshes/BuildConfigTags.h>
namespace
TNL
{
namespace
TNL
{
...
@@ -22,7 +23,7 @@ namespace Solvers {
...
@@ -22,7 +23,7 @@ namespace Solvers {
/****
/****
* Turn off support for float and long double.
* Turn off support for float and long double.
*/
*/
//
template<> struct ConfigTagReal< HamiltonJacobiBuildConfig, float > { enum { enabled = false }; };
template
<
>
struct
ConfigTagReal
<
HamiltonJacobiBuildConfig
,
float
>
{
enum
{
enabled
=
false
};
};
template
<
>
struct
ConfigTagReal
<
HamiltonJacobiBuildConfig
,
long
double
>
{
enum
{
enabled
=
false
};
};
template
<
>
struct
ConfigTagReal
<
HamiltonJacobiBuildConfig
,
long
double
>
{
enum
{
enabled
=
false
};
};
/****
/****
...
@@ -54,4 +55,22 @@ template<> struct ConfigTagTimeDiscretisation< HamiltonJacobiBuildConfig, Implic
...
@@ -54,4 +55,22 @@ template<> struct ConfigTagTimeDiscretisation< HamiltonJacobiBuildConfig, Implic
//template<> struct ConfigTagExplicitSolver< HamiltonJacobiBuildConfig, ExplicitEulerSolverTag >{ enum { enabled = false }; };
//template<> struct ConfigTagExplicitSolver< HamiltonJacobiBuildConfig, ExplicitEulerSolverTag >{ enum { enabled = false }; };
}
// namespace Solvers
}
// namespace Solvers
namespace
Meshes
{
namespace
BuildConfigTags
{
/****
* Turn off support for float and long double.
*/
template
<
>
struct
GridRealTag
<
HamiltonJacobiBuildConfig
,
float
>
{
enum
{
enabled
=
false
};
};
template
<
>
struct
GridRealTag
<
HamiltonJacobiBuildConfig
,
long
double
>
{
enum
{
enabled
=
false
};
};
/****
* Turn off support for short int and long int indexing.
*/
template
<
>
struct
GridIndexTag
<
HamiltonJacobiBuildConfig
,
short
int
>
{
enum
{
enabled
=
false
};
};
template
<
>
struct
GridIndexTag
<
HamiltonJacobiBuildConfig
,
long
int
>
{
enum
{
enabled
=
false
};
};
}
// namespace BuildConfigTags
}
// namespace Meshes
}
// namespace TNL
}
// namespace TNL
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment