SPHFluidSurfaceMapping.cpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #include <sofa/component/mapping/SPHFluidSurfaceMapping.inl>
00026 #include <sofa/defaulttype/Vec3Types.h>
00027 #include <sofa/core/ObjectFactory.h>
00028 #include <sofa/core/componentmodel/behavior/MappedModel.h>
00029 #include <sofa/core/componentmodel/behavior/MechanicalState.h>
00030 #include <sofa/core/componentmodel/behavior/MechanicalMapping.h>
00031
00032 namespace sofa
00033 {
00034
00035 namespace component
00036 {
00037
00038 namespace mapping
00039 {
00040
00041 using namespace sofa::defaulttype;
00042 using namespace core::componentmodel::behavior;
00043
00044 SOFA_DECL_CLASS(SPHFluidSurfaceMapping)
00045
00046
00047 int SPHFluidSurfaceMappingClass = core::RegisterObject("TODO-SPHFluidSurfaceMappingClass")
00048 #ifndef SOFA_FLOAT
00049 .add< SPHFluidSurfaceMapping< State<Vec3dTypes>, MappedModel<Vec3dTypes> > >()
00050
00051 .add< SPHFluidSurfaceMapping< State<Vec3dTypes>, MappedModel<ExtVec3fTypes> > >()
00052 #endif
00053 #ifndef SOFA_DOUBLE
00054 .add< SPHFluidSurfaceMapping< State<Vec3fTypes>, MappedModel<Vec3fTypes> > >()
00055
00056 .add< SPHFluidSurfaceMapping< State<Vec3fTypes>, MappedModel<ExtVec3fTypes> > >()
00057 #endif
00058
00059 #ifndef SOFA_FLOAT
00060 #ifndef SOFA_DOUBLE
00061 .add< SPHFluidSurfaceMapping< State<Vec3fTypes>, MappedModel<Vec3dTypes> > >()
00062 .add< SPHFluidSurfaceMapping< State<Vec3dTypes>, MappedModel<Vec3fTypes> > >()
00063 #endif
00064 #endif
00065 ;
00066
00067 #ifndef SOFA_FLOAT
00068 template class SPHFluidSurfaceMapping< State<Vec3dTypes>, MappedModel<Vec3dTypes> >;
00069
00070 template class SPHFluidSurfaceMapping< State<Vec3dTypes>, MappedModel<ExtVec3fTypes> >;
00071 #endif
00072 #ifndef SOFA_DOUBLE
00073 template class SPHFluidSurfaceMapping< State<Vec3fTypes>, MappedModel<Vec3fTypes> >;
00074 template class SPHFluidSurfaceMapping< State<Vec3fTypes>, MappedModel<ExtVec3fTypes> >;
00075
00076 #endif
00077
00078 #ifndef SOFA_FLOAT
00079 #ifndef SOFA_DOUBLE
00080 template class SPHFluidSurfaceMapping< State<Vec3dTypes>, MappedModel<Vec3fTypes> >;
00081 template class SPHFluidSurfaceMapping< State<Vec3fTypes>, MappedModel<Vec3dTypes> >;
00082 #endif
00083 #endif
00084
00085
00086
00087
00088
00089 }
00090
00091 }
00092
00093 }
00094