[Insight-developers] FEM class naming conventions

Miller, James V (Research) millerjv at crd . ge . com
Fri, 23 Aug 2002 16:30:15 -0400


Many of the FEM filenames do not match the FEM class names.

File itkFEMLoadBase.h has the class itk::fem::Load
File itkFEMLoadElementBase.h has the class itk::fem::LoadElement
File itkFEMElementBase.h has the class itk::fem::Element
File itkFEMMaterialBase.h has the class itk::fem::Material

This makes it hard to navigate to the file that contains the class 
definition given only the class name.

The ITK convention is have the filenames match the classnames.  
One exception to this pattern is when a single file contains
multiple utility classes.  Otherwise, the filenames should match
the name of predominate class in the file.