proteus  1.8.1
C/C++/Fortran libraries
Namespaces | Macros | Functions
ModelFactory.h File Reference
#include <iostream>
Include dependency graph for ModelFactory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 proteus
 

Macros

#define NO_INSTANCE
 

Functions

template<class Model_Base , template< class CompKernelType, int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary > class ModelTemplate, template< int nSpace, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element > class CompKernelTemplate>
Model_Base * proteus::chooseAndAllocateDiscretization (int nSpaceIn, int nQuadraturePoints_elementIn, int nDOF_mesh_trial_elementIn, int nDOF_trial_elementIn, int nDOF_test_elementIn, int nQuadraturePoints_elementBoundaryIn, int CompKernelFlag)
 
template<class Model_Base , template< class CompKernelType, int nSpace, int nQuadraturePoints_element, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element, int nQuadraturePoints_elementBoundary > class ModelTemplate, template< int nSpace, int nDOF_mesh_trial_element, int nDOF_trial_element, int nDOF_test_element > class CompKernelTemplate>
Model_Base * proteus::chooseAndAllocateDiscretization2D (int nSpaceIn, int nQuadraturePoints_elementIn, int nDOF_mesh_trial_elementIn, int nDOF_trial_elementIn, int nDOF_test_elementIn, int nQuadraturePoints_elementBoundaryIn, int CompKernelFlag)
 

Macro Definition Documentation

◆ NO_INSTANCE

#define NO_INSTANCE
Value:
std::cout<<"Constructing model object from template class:"<<std::endl \
<<"return static_cast<Model_Base*>(new ModelTemplate<CompKernelTemplate<" \
<<nSpaceIn<<"," \
<<nDOF_mesh_trial_elementIn<<"," \
<<nDOF_trial_elementIn<<"," \
<<nDOF_test_elementIn<<">," \
<<nSpaceIn<<"," \
<<nQuadraturePoints_elementIn<<"," \
<<nDOF_mesh_trial_elementIn<<"," \
<<nDOF_trial_elementIn<<"," \
<<nDOF_test_elementIn<<"," \
<<nQuadraturePoints_elementBoundaryIn<<">());" \
<<std::endl<<std::flush

Definition at line 5 of file ModelFactory.h.