WaSH Docs
Namespaces | Classes | Typedefs | Enumerations | Variables
ws2st Namespace Reference

Namespaces

 args
 
 compile
 
 dependency_detection
 
 files
 
 refactor
 

Classes

struct  KernelDependencies
 Struct to hold two vectors of dependencies (appropriately named) More...
 
struct  WashProgramMeta
 Meta information about the simulation which is defined globally and can be read/written to by the callback functions. More...
 

Typedefs

typedef void(* WashCallbackFn) (const MatchFinder::MatchResult &, Replacements &)
 Defines the type of the callback function which takes a MatchResult containing AST information about the match and a mutable reference to the Replacements list which can be added to by the callback function. More...
 
typedef void(* WashComputeFn) (const WashOptions &opts)
 

Enumerations

enum  ForceType { ForceType::SCALAR, ForceType::VECTOR }
 

Variables

std::shared_ptr< WashProgramMetaprogram_meta = std::make_shared<WashProgramMeta>()
 

Typedef Documentation

◆ WashCallbackFn

typedef void(* ws2st::WashCallbackFn) (const MatchFinder::MatchResult &, Replacements &)

Defines the type of the callback function which takes a MatchResult containing AST information about the match and a mutable reference to the Replacements list which can be added to by the callback function.

◆ WashComputeFn

typedef void(* ws2st::WashComputeFn) (const WashOptions &opts)

Enumeration Type Documentation

◆ ForceType

enum ws2st::ForceType
strong
Enumerator
SCALAR 
VECTOR 

Variable Documentation

◆ program_meta

std::shared_ptr< WashProgramMeta > ws2st::program_meta = std::make_shared<WashProgramMeta>()