-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add particle lists for force and position - test with crack branch BC
- Loading branch information
Showing
7 changed files
with
118 additions
and
60 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#ifndef FIELDS_HPP | ||
#define FIELDS_HPP | ||
|
||
#include <Cabana_Core.hpp> | ||
|
||
namespace CabanaPD | ||
{ | ||
//---------------------------------------------------------------------------// | ||
// Fields. | ||
//---------------------------------------------------------------------------// | ||
namespace Field | ||
{ | ||
|
||
struct ReferencePosition : Cabana::Field::Position<3> | ||
{ | ||
static std::string label() { return "reference_positions"; } | ||
}; | ||
|
||
struct Force : Cabana::Field::Vector<double, 3> | ||
{ | ||
static std::string label() { return "forces"; } | ||
}; | ||
|
||
struct NoFail : Cabana::Field::Scalar<int> | ||
{ | ||
static std::string label() { return "no_fail"; } | ||
}; | ||
|
||
} // namespace Field | ||
} // namespace CabanaPD | ||
|
||
#endif |
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