OpenFAST
Wind turbine multiphysics simulator
freedata.h
1 /****************************************************************
2  * Copyright (C) 2014 mdm *
3  * map[dot]plus[dot]plus[dot]help[at]gmail *
4  * *
5  * Licensed to the Apache Software Foundation (ASF) under one *
6  * or more contributor license agreements. See the NOTICE file *
7  * distributed with this work for additional information *
8  * regarding copyright ownership. The ASF licenses this file *
9  * to you under the Apache License, Version 2.0 (the *
10  * "License"); you may not use this file except in compliance *
11  * with the License. You may obtain a copy of the License at *
12  * *
13  * http://www.apache.org/licenses/LICENSE-2.0 *
14  * *
15  * Unless required by applicable law or agreed to in writing, *
16  * software distributed under the License is distributed on an *
17  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
18  * KIND, either express or implied. See the License for the *
19  * specific language governing permissions and limitations *
20  * under the License. *
21  ****************************************************************/
22 
23 
24 #ifndef _FREE_DATA_H
25 #define _FREE_DATA_H
26 
27 
28 #include "map.h"
29 
30 
31 MAP_ERROR_CODE map_free_types(MAP_InputType_t* u_type, MAP_ParameterType_t* p_type, MAP_ContinuousStateType_t* x_type, MAP_ConstraintStateType_t* z_type, MAP_OtherStateType_t* other_type, MAP_OutputType_t* y_type);
32 MAP_EXTERNCALL void MAP_InitInput_Delete(InitializationData* init_data);
33 MAP_EXTERNCALL void MAP_OtherState_Delete(Domain* domain);
34 MAP_ERROR_CODE free_outer_solve_data(OuterSolveAttributes* ns, const int size, char* map_msg, MAP_ERROR_CODE* ierr);
35 MAP_ERROR_CODE free_vessel(Vessel* floater);
36 
37 
44 MAP_ERROR_CODE free_update_list (list_t* restrict ref_list);
45 
46 
52 MAP_ERROR_CODE free_cable_library(list_t* restrict library);
53 
54 
63 MAP_ERROR_CODE free_outlist(Domain* domain, char* map_msg, MAP_ERROR_CODE* ierr);
64 
65 
73 MAP_ERROR_CODE free_line(list_t *restrict line);
74 
75 
83 MAP_ERROR_CODE free_node(list_t *restrict node);
84 
85 
86 #endif // _FREE_DATA_H
MAP_ERROR_CODE free_outlist(Domain *domain, char *map_msg, MAP_ERROR_CODE *ierr)
Frees internal state data allcoated in the mapcall_msqs_init( ) function.
Definition: freedata.c:45
list object
Definition: simclist.h:185
Definition: MAP_Types.h:99
Definition: MAP_Types.h:92
MAP_ERROR_CODE free_update_list(list_t *restrict ref_list)
Set the reference in ReferencePoint to NULL.
Definition: freedata.c:80
Central point where all 'VESSEL' nodes can be displaced.
Definition: map.h:191
Definition: MAP_Types.h:46
Definition: MAP_Types.h:73
MAP_ERROR_CODE free_cable_library(list_t *restrict library)
Deallocate the 'label' parameter in the CableLibrary.
Definition: freedata.c:67
MAP_ERROR_CODE free_node(list_t *restrict node)
Deallocates all nodes.
Definition: freedata.c:153
MAP_ERROR_CODE free_line(list_t *restrict line)
Deallocates all lines.
Definition: freedata.c:96
Definition: map.h:454
Definition: map.h:393
Definition: MAP_Types.h:81
Definition: MAP_Types.h:54
Definition: map.h:433