-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added new typedef system_category to all steppers. #226
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
[auto_generated] | ||
boost/numeric/odeint/stepper/system_categories.hpp | ||
|
||
[begin_description] | ||
Definition of all system categories. | ||
[end_description] | ||
|
||
Copyright 2017 Markus Friedrich | ||
|
||
Distributed under the Boost Software License, Version 1.0. | ||
(See accompanying file LICENSE_1_0.txt or | ||
copy at http://www.boost.org/LICENSE_1_0.txt) | ||
*/ | ||
|
||
|
||
#ifndef BOOST_NUMERIC_ODEINT_STEPPER_SYSTEM_CATEGORIES_HPP_INCLUDED | ||
#define BOOST_NUMERIC_ODEINT_STEPPER_SYSTEM_CATEGORIES_HPP_INCLUDED | ||
|
||
namespace boost { | ||
namespace numeric { | ||
namespace odeint { | ||
|
||
|
||
/* | ||
* Tags to specify system types | ||
* | ||
* These tags can be used to detect which system category is used | ||
*/ | ||
|
||
struct explicit_system_tag {}; | ||
struct second_order_system_tag {}; | ||
struct symplectic_system_tag {}; | ||
struct simple_symplectic_system_tag {}; | ||
struct symplectic_or_simple_symplectic_system_tag {}; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we really need 3 versions of symplectic tags? It seems only the last one is being used? If we keep all 3, shouldn't the last be derived from the two above to express the is_a relation? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Currently all symplectic steppers support both "normal"- and simple-simplectic systems. So just having symplectic_or_simple_symplectic_system_tag is fine for now. |
||
struct implicit_system_tag {}; | ||
|
||
|
||
} // odeint | ||
} // numeric | ||
} // boost | ||
|
||
|
||
#endif // BOOST_NUMERIC_ODEINT_STEPPER_SYSTEM_CATEGORIES_HPP_INCLUDED |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great to define the interface expected from the different system functor here!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How? Just as (doxygen) comments?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, just a short doxy showing how this interface is being called from inside the corresponding stepper.