source: issm/trunk-jpl/src/c/modules/ModelProcessorx/L2ProjectionTop/CreateNodesL2ProjectionTop.cpp@ 16529

Last change on this file since 16529 was 16529, checked in by Mathieu Morlighem, 11 years ago

CHG: removing Surfaceslopes and bedslopes analysis, replaced by L2ProjectionBase

File size: 646 bytes
Line 
1/*
2 * CreateNodesL2ProjectionTop.c:
3 */
4
5#include "../../../toolkits/toolkits.h"
6#include "../../../classes/classes.h"
7#include "../../../shared/shared.h"
8#include "../../MeshPartitionx/MeshPartitionx.h"
9#include "../ModelProcessorx.h"
10
11void CreateNodesL2ProjectionTop(Nodes** pnodes, IoModel* iomodel){
12
13 if(iomodel->meshtype==Mesh3DEnum){
14 iomodel->FetchData(2,MeshVertexonbedEnum,MeshVertexonsurfaceEnum);
15 }
16 else if(iomodel->meshtype==Mesh2DverticalEnum){
17 iomodel->FetchData(1,MeshVertexonbedEnum);
18 }
19 CreateNodes(pnodes,iomodel,L2ProjectionTopAnalysisEnum,P1Enum);
20 iomodel->DeleteData(2,MeshVertexonbedEnum,MeshVertexonsurfaceEnum);
21}
Note: See TracBrowser for help on using the repository browser.