MFEM  v4.3.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Functions
life.cpp File Reference

Go to the source code of this file.

Functions

bool GameStep (vector< bool > *b[], int nx, int ny)
 
void ProjectStep (const vector< bool > &b, GridFunction &x, int n)
 
bool InitSketchPad (vector< bool > &b, int nx, int ny, const Array< int > &params)
 
bool InitBlinker (vector< bool > &b, int nx, int ny, const Array< int > &params)
 
bool InitGlider (vector< bool > &b, int nx, int ny, const Array< int > &params)
 
bool InitMFEM (vector< bool > &b, int nx, int ny)
 
int main (int argc, char *argv[])
 
int index (int i, int j, int nx, int ny)
 

Function Documentation

bool GameStep ( vector< bool > *  b[],
int  nx,
int  ny 
)

Definition at line 242 of file life.cpp.

int index ( int  i,
int  j,
int  nx,
int  ny 
)
inline

Definition at line 237 of file life.cpp.

bool InitBlinker ( vector< bool > &  b,
int  nx,
int  ny,
const Array< int > &  params 
)

Definition at line 285 of file life.cpp.

bool InitGlider ( vector< bool > &  b,
int  nx,
int  ny,
const Array< int > &  params 
)

Definition at line 310 of file life.cpp.

bool InitMFEM ( vector< bool > &  b,
int  nx,
int  ny 
)

Definition at line 377 of file life.cpp.

bool InitSketchPad ( vector< bool > &  b,
int  nx,
int  ny,
const Array< int > &  params 
)

Definition at line 353 of file life.cpp.

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

Definition at line 54 of file life.cpp.

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

Definition at line 277 of file life.cpp.