data/train/cpp/f94a0c2710092f66c365e80428f09bab204b9491itkFEMLoadImplementationsRegister.cxx
void LoadImplementationsRegister(void)
{
  // Loads acting on LineStress element
  REGISTER_LOAD_EX(Element2DC0LinearLineStress,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);

  // Loads acting on Beam element
  REGISTER_LOAD_EX(Element2DC1Beam,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);

  // Loads acting on QuadrilateralStress element
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralStress,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralStress,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on QuadrilateralStrain element
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralStrain,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralStrain,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on QuadrilateralMembrane element
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralMembrane,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralMembrane,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on QuadrilateralLinearElasticity element
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralLinearElasticity,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralLinearElasticity,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on TriangularStress element
  REGISTER_LOAD_EX(Element2DC0LinearTriangularStress,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearTriangularStress,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on TriangularStrain element
  REGISTER_LOAD_EX(Element2DC0LinearTriangularStrain,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearTriangularStrain,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on TriangularMembrane element
  REGISTER_LOAD_EX(Element2DC0LinearTriangularMembrane,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearTriangularMembrane,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on HexahedronStrain element
  REGISTER_LOAD_EX(Element3DC0LinearHexahedronStrain,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearHexahedronStrain,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on HexahedronMembrane element
  REGISTER_LOAD_EX(Element3DC0LinearHexahedronMembrane,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearHexahedronMembrane,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on HexahedronLinearElasticity element
  REGISTER_LOAD_EX(Element3DC0LinearHexahedronLinearElasticity,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearHexahedronLinearElasticity,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on Tetrahedron element
  REGISTER_LOAD_EX(Element3DC0LinearTetrahedronStrain,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearTetrahedronStrain,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearTetrahedronMembrane,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearTetrahedronMembrane,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);


  // Add any additional loads here in a similar fashion...
  // Make sure that the pointer to the visit function is the correct one!!!

  // Loads acting on 2-D B-spline LInear Elasticity element
  REGISTER_LOAD_EX(Element2DBSplinePatchLinearElasticity,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DBSplinePatchLinearElasticity,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on 2-D B-spline Membrane element
  REGISTER_LOAD_EX(Element2DBSplinePatchMembrane,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DBSplinePatchMembrane,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on 2-D B-spline Stress element
  REGISTER_LOAD_EX(Element2DBSplinePatchStress,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DBSplinePatchStress,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on 2-D B-spline Strain element
  REGISTER_LOAD_EX(Element2DBSplinePatchStrain,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DBSplinePatchStrain,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on 3-D B-spline LInear Elasticity element
  REGISTER_LOAD_EX(Element3DBSplinePatchLinearElasticity,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DBSplinePatchLinearElasticity,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on 3-D B-spline Membrane element
  REGISTER_LOAD_EX(Element3DBSplinePatchMembrane,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DBSplinePatchMembrane,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

  // Loads acting on 3-D B-spline Strain element
  REGISTER_LOAD_EX(Element3DBSplinePatchStrain,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DBSplinePatchStrain,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);

}
/**
 * Registers all Load classes in the FEM library with VisitorDispatcher.
 * This function must be called before the FEM library is functional!.
 */
Registers all Load classes in the FEM library with VisitorDispatcher.
This function must be called before the FEM library is functional!.
Registers all Load classes in the FEM library with VisitorDispatcher . This function must be called before the FEM library is functional! .
void LoadImplementationsRegister(void)
{
  REGISTER_LOAD_EX(Element2DC0LinearLineStress,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC1Beam,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralStress,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralStress,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralStrain,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralStrain,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralMembrane,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralMembrane,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralLinearElasticity,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearQuadrilateralLinearElasticity,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearTriangularStress,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearTriangularStress,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearTriangularStrain,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearTriangularStrain,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearTriangularMembrane,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DC0LinearTriangularMembrane,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearHexahedronStrain,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearHexahedronStrain,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearHexahedronMembrane,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearHexahedronMembrane,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearHexahedronLinearElasticity,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearHexahedronLinearElasticity,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearTetrahedronStrain,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearTetrahedronStrain,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearTetrahedronMembrane,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DC0LinearTetrahedronMembrane,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DBSplinePatchLinearElasticity,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DBSplinePatchLinearElasticity,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DBSplinePatchMembrane,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DBSplinePatchMembrane,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DBSplinePatchStress,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DBSplinePatchStress,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DBSplinePatchStrain,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element2DBSplinePatchStrain,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DBSplinePatchLinearElasticity,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DBSplinePatchLinearElasticity,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DBSplinePatchMembrane,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DBSplinePatchMembrane,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DBSplinePatchStrain,LoadGravConst,LoadImplementationGenericBodyLoad::HandleLoad);
  REGISTER_LOAD_EX(Element3DBSplinePatchStrain,LoadLandmark,LoadImplementationGenericLandmarkLoad::HandleLoad);
}
void LoadImplementationsRegister ( void ) { REGISTER_LOAD_EX ( Element2DC0LinearLineStress , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DC1Beam , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DC0LinearQuadrilateralStress , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DC0LinearQuadrilateralStress , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DC0LinearQuadrilateralStrain , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DC0LinearQuadrilateralStrain , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DC0LinearQuadrilateralMembrane , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DC0LinearQuadrilateralMembrane , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DC0LinearQuadrilateralLinearElasticity , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DC0LinearQuadrilateralLinearElasticity , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DC0LinearTriangularStress , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DC0LinearTriangularStress , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DC0LinearTriangularStrain , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DC0LinearTriangularStrain , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DC0LinearTriangularMembrane , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DC0LinearTriangularMembrane , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DC0LinearHexahedronStrain , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DC0LinearHexahedronStrain , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DC0LinearHexahedronMembrane , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DC0LinearHexahedronMembrane , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DC0LinearHexahedronLinearElasticity , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DC0LinearHexahedronLinearElasticity , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DC0LinearTetrahedronStrain , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DC0LinearTetrahedronStrain , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DC0LinearTetrahedronMembrane , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DC0LinearTetrahedronMembrane , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DBSplinePatchLinearElasticity , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DBSplinePatchLinearElasticity , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DBSplinePatchMembrane , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DBSplinePatchMembrane , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DBSplinePatchStress , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DBSplinePatchStress , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DBSplinePatchStrain , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element2DBSplinePatchStrain , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DBSplinePatchLinearElasticity , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DBSplinePatchLinearElasticity , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DBSplinePatchMembrane , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DBSplinePatchMembrane , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DBSplinePatchStrain , LoadGravConst , LoadImplementationGenericBodyLoad :: HandleLoad ) ; REGISTER_LOAD_EX ( Element3DBSplinePatchStrain , LoadLandmark , LoadImplementationGenericLandmarkLoad :: HandleLoad ) ; }
Registers all Load classes in the FEM library with VisitorDispatcher.
Registers all Load classes in the FEM library with VisitorDispatcher .
// Loads acting on LineStress element // Loads acting on Beam element // Loads acting on QuadrilateralStress element // Loads acting on QuadrilateralStrain element // Loads acting on QuadrilateralMembrane element // Loads acting on QuadrilateralLinearElasticity element // Loads acting on TriangularStress element // Loads acting on TriangularStrain element // Loads acting on TriangularMembrane element // Loads acting on HexahedronStrain element // Loads acting on HexahedronMembrane element // Loads acting on HexahedronLinearElasticity element // Loads acting on Tetrahedron element // Add any additional loads here in a similar fashion... // Make sure that the pointer to the visit function is the correct one!!! // Loads acting on 2-D B-spline LInear Elasticity element // Loads acting on 2-D B-spline Membrane element // Loads acting on 2-D B-spline Stress element // Loads acting on 2-D B-spline Strain element // Loads acting on 3-D B-spline LInear Elasticity element // Loads acting on 3-D B-spline Membrane element // Loads acting on 3-D B-spline Strain element