forked from idaholab/moose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use new static exec flag reg and namespace custom exec flags
refs idaholab#49
- Loading branch information
1 parent
431279a
commit d9a4bca
Showing
5 changed files
with
41 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
#pragma once | ||
#include "Moose.h" | ||
|
||
namespace IsopodAppTypes | ||
{ | ||
extern const ExecFlagType EXEC_FORWARD; | ||
extern const ExecFlagType EXEC_ADJOINT; | ||
extern const ExecFlagType EXEC_HOMOGENEOUS_FORWARD; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
#include "IsopodAppTypes.h" | ||
#include "MooseEnumItem.h" | ||
#include "ExecFlagRegistry.h" | ||
|
||
const ExecFlagType EXEC_FORWARD("FORWARD"); | ||
const ExecFlagType EXEC_ADJOINT("ADJOINT"); | ||
const ExecFlagType EXEC_HOMOGENEOUS_FORWARD("HOMOGENEOUS_FORWARD"); | ||
namespace IsopodAppTypes | ||
{ | ||
const ExecFlagType EXEC_FORWARD = registerExecFlag("FORWARD"); | ||
const ExecFlagType EXEC_ADJOINT = registerExecFlag("ADJOINT"); | ||
const ExecFlagType EXEC_HOMOGENEOUS_FORWARD = registerExecFlag("HOMOGENEOUS_FORWARD"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters