WaSH Docs
Functions | Variables
ws2st::refactor::cornerstone Namespace Reference

Functions

void HandleSetupDataWithCornerstone (const MatchFinder::MatchResult &Result, Replacements &Replace)
 
void HandleRecalculateNeighboursWithCornerstone (const MatchFinder::MatchResult &Result, Replacements &Replace)
 
std::unordered_set< std::string > get_variables_to_sync ()
 
void HandleSyncDomainWithCornerstone (const MatchFinder::MatchResult &Result, Replacements &Replace)
 
void HandleExchangeAllHalosWithCornerstone (const MatchFinder::MatchResult &Result, Replacements &Replace)
 
void HandleForceKernelExec (const MatchFinder::MatchResult &Result, Replacements &Replace)
 
void HandleRemoveParticleClass (const MatchFinder::MatchResult &Result, Replacements &Replace)
 
void HandleCallRecalculateNeighbours (const MatchFinder::MatchResult &Result, Replacements &Replace)
 
void DeleteParticleCpp ()
 

Variables

DeclarationMatcher DataSetupDecl
 
DeclarationMatcher ParticleRecalculateNeighbours
 
DeclarationMatcher SyncDomainCall
 
DeclarationMatcher ExchangeAllHalos
 
DeclarationMatcher ForceKernelExec
 
DeclarationMatcher ParticleClassMatcher
 
StatementMatcher ParticleCallRecalcNeighbours
 

Function Documentation

◆ DeleteParticleCpp()

void ws2st::refactor::cornerstone::DeleteParticleCpp ( )

◆ get_variables_to_sync()

std::unordered_set<std::string> ws2st::refactor::cornerstone::get_variables_to_sync ( )

◆ HandleCallRecalculateNeighbours()

void ws2st::refactor::cornerstone::HandleCallRecalculateNeighbours ( const MatchFinder::MatchResult &  Result,
Replacements &  Replace 
)

◆ HandleExchangeAllHalosWithCornerstone()

void ws2st::refactor::cornerstone::HandleExchangeAllHalosWithCornerstone ( const MatchFinder::MatchResult &  Result,
Replacements &  Replace 
)

◆ HandleForceKernelExec()

void ws2st::refactor::cornerstone::HandleForceKernelExec ( const MatchFinder::MatchResult &  Result,
Replacements &  Replace 
)

◆ HandleRecalculateNeighboursWithCornerstone()

void ws2st::refactor::cornerstone::HandleRecalculateNeighboursWithCornerstone ( const MatchFinder::MatchResult &  Result,
Replacements &  Replace 
)

◆ HandleRemoveParticleClass()

void ws2st::refactor::cornerstone::HandleRemoveParticleClass ( const MatchFinder::MatchResult &  Result,
Replacements &  Replace 
)

◆ HandleSetupDataWithCornerstone()

void ws2st::refactor::cornerstone::HandleSetupDataWithCornerstone ( const MatchFinder::MatchResult &  Result,
Replacements &  Replace 
)

◆ HandleSyncDomainWithCornerstone()

void ws2st::refactor::cornerstone::HandleSyncDomainWithCornerstone ( const MatchFinder::MatchResult &  Result,
Replacements &  Replace 
)

Variable Documentation

◆ DataSetupDecl

DeclarationMatcher ws2st::refactor::cornerstone::DataSetupDecl
Initial value:
= traverse(TK_IgnoreUnlessSpelledInSource,
cxxRecordDecl(hasName("_wash_data_setup")).bind("decl")
)

◆ ExchangeAllHalos

DeclarationMatcher ws2st::refactor::cornerstone::ExchangeAllHalos
Initial value:
= traverse(TK_IgnoreUnlessSpelledInSource,
cxxRecordDecl(hasName("_wash_exchange_all_halos")).bind("decl")
)

◆ ForceKernelExec

DeclarationMatcher ws2st::refactor::cornerstone::ForceKernelExec
Initial value:
= traverse(TK_IgnoreUnlessSpelledInSource,
cxxRecordDecl(hasName("_wash_force_kernel_exec")).bind("decl")
)

◆ ParticleCallRecalcNeighbours

StatementMatcher ws2st::refactor::cornerstone::ParticleCallRecalcNeighbours
Initial value:
= traverse(TK_IgnoreUnlessSpelledInSource, cxxMemberCallExpr(
on(hasType(cxxRecordDecl(hasName("Particle")))),
callee(cxxMethodDecl(hasName("recalculate_neighbors"))),
hasArgument(0, expr().bind("ngMaxArg"))
).bind("callExpr"))

◆ ParticleClassMatcher

DeclarationMatcher ws2st::refactor::cornerstone::ParticleClassMatcher
Initial value:
= traverse(TK_IgnoreUnlessSpelledInSource,
cxxRecordDecl(hasName("Particle")).bind("decl")
)

◆ ParticleRecalculateNeighbours

DeclarationMatcher ws2st::refactor::cornerstone::ParticleRecalculateNeighbours
Initial value:
= traverse(TK_IgnoreUnlessSpelledInSource,
cxxRecordDecl(hasName("_wash_recalc_neighbours")).bind("decl")
)

◆ SyncDomainCall

DeclarationMatcher ws2st::refactor::cornerstone::SyncDomainCall
Initial value:
= traverse(TK_IgnoreUnlessSpelledInSource,
cxxRecordDecl(hasName("_wash_sync_domain")).bind("decl")
)