MFEM  v4.6.0
Finite element discretization library
Functions
automata.cpp File Reference

Go to the source code of this file.

Functions

void PrintRule (bitset< 8 > &r)
 
void ApplyRule (vector< bool > *b[], bitset< 8 > &r, int ns, int s)
 
void ProjectStep (const vector< bool > &b, GridFunction &x, int ns, int s)
 
int main (int argc, char *argv[])
 
bool Rule (bitset< 8 > &r, bool b0, bool b1, bool b2)
 

Function Documentation

◆ ApplyRule()

void ApplyRule ( vector< bool > *  b[],
bitset< 8 > &  r,
int  ns,
int  s 
)

Definition at line 185 of file automata.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 42 of file automata.cpp.

◆ PrintRule()

void PrintRule ( bitset< 8 > &  r)

Definition at line 170 of file automata.cpp.

◆ ProjectStep()

void ProjectStep ( const vector< bool > &  b,
GridFunction x,
int  ns,
int  s 
)

Definition at line 195 of file automata.cpp.

◆ Rule()

bool Rule ( bitset< 8 > &  r,
bool  b0,
bool  b1,
bool  b2 
)

Definition at line 165 of file automata.cpp.