MFEM  v4.3.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
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

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

Definition at line 185 of file automata.cpp.

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

Definition at line 42 of file automata.cpp.

void PrintRule ( bitset< 8 > &  r)

Definition at line 170 of file automata.cpp.

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

Definition at line 195 of file automata.cpp.

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

Definition at line 165 of file automata.cpp.