MFEM  v4.1.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 246 of file life.cpp.

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

Definition at line 241 of file life.cpp.

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

Definition at line 289 of file life.cpp.

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

Definition at line 314 of file life.cpp.

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

Definition at line 381 of file life.cpp.

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

Definition at line 357 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 281 of file life.cpp.