C3D Labs Intel : C3D, , C3D Labs Intel. Intel Software Conference 2016 , - C3D Labs , OpenMP, C3D.
, C3D :
- ;
- .
![](https://isicad.ru/uploads/img/15168_Kernel.png)
1. C3D Toolkit 2016
:
C3D Toolkit 2016 / , . MbeMultithreadedMode:
mtm_Off | |
mtm_Base | ( ) |
mtm_Converters | |
mtm_Sections | |
mtm_Items | |
mtm_Solids | ( mtm_Items) |
mtm_Standard | , 16 ( mtm_Base, mtm_Converters, mtm_Sections) |
mtm_Max |
C3D mtm_Standard. mtm_Standard mtm_Base / C3D.
:
bool Math::Multithreaded() | , mtm_Standard | , |
void Math::SetMultithreaded( bool b ) | b false, (mtm_Off). b true, mtm_Standard | b |
MbeMultithreadedMode Math::MultithreadedMode() | ||
bool Math::CheckMultithreadedMode(MbeMultithreadedMode mode ) | ||
void Math::SetMultithreadedMode(MbeMultithreadedMode mode ) |
C3D Toolkit 2016 . , , . , (MbFaceShell, MbFace, MbOrientedEdge, MbCurveEdge, MbSolid). , , ::GetVestiges ().
mtm_Max.
, ::GetVestiges ():
- MATH_FUNC (void) GetVestiges ( const MbPlacement3D & place,
- double znear,
- const RPArray
& lumps, - const MbProjectionsObjects & objects,
- MbVEFVestiges & result
- const MbMapVisibilityMode & visMode,
- VERSION version = Math::DefaultMathVersion(),
- bool merge = true );
, .
, lumps :
- void BetaMultithreaded0()
- {
- < >
- < lumps >
- < , places ( : , , ) >
- < : znear visMode >
-
/// 4 , ::GetVestiges (...) - int count = (int)places.Count();
- PArray
vestigesArray(count,1); - for( int m = 0; m < count; m++ )
- vestigesArray.Add( new MbVEFVestiges() );
-
/// - MbeMultithreadedMode mode = Math::MultithreadedMode();
- Math::SetMultithreadedMode( mtm_Max );
-
/// - #pragma omp parallel for shared( znear, places, lumps, vestigesArray, visMode ) num_threads
- (count) if( Math::CheckMultithreadedMode(mtm_Max) )
- for( int m = 0; m < count; m++ )
- {
- MbProjectionsObjects prObjects;
- ::GetVestiges( places[m], znear, lumps, prObjects, *vestigesArray[m], visMode, Math::DefaultMathVersion() );
- }
-
/// - Math::SetMultithreadedMode( mode );
-
< > - }
![](https://isicad.ru/uploads/img/15225_2.png)
2. C3D Toolkit 2016 100 1000 NURBS-
C3D C3D Labs:
http://c3dlabs.com/ru/products/c3d-kernel/
C3D :
http://c3dlabs.com/ru/evaluation/
C3D Labs
C3D Labs , PLM-. , , C3D, -3D. 2013 C3D Labs . C3D Toolkit .
E-mail: info@c3dlabs.com
.: +7 (495) 783-2560, . 2130
127106, , ,
, . 1.
-, 112