Allocation routines.
More...
#include "petscdm.h"
#include "petscksp.h"
#include "petscpc.h"
#include <stdlib.h>
#include "struct.h"
#include "Alloc.h"
Allocation routines.
- Version
- 0.0
- Author
- Michel Bergmann
- Date
- 2015-11-01
◆ alloc_coef()
void alloc_coef |
( |
Obs * |
obs | ) |
|
Allocate Obs.coef substructure.
Sub part of alloc function. The function is splitted for readability purpose
- Parameters
-
[in,out] | obs | The Obs struct to allocate |
◆ alloc_elast()
void alloc_elast |
( |
Obs * |
obs | ) |
|
Allocate Obs.elast substructure.
Sub part of alloc function. The function is splitted for readability purpose
- Parameters
-
[in,out] | obs | The Obs struct to allocate |
◆ alloc_geom()
void alloc_geom |
( |
Obs * |
obs | ) |
|
Allocate Obs.geom substructure.
Sub part of alloc function. The function is splitted for readability purpose
- Parameters
-
[in,out] | obs | The Obs struct to allocate |
◆ alloc_mouv()
void alloc_mouv |
( |
Obs * |
obs | ) |
|
Allocate Obs.mouv substructure.
Sub part of alloc function. The function is splitted for readability purpose
- Parameters
-
[in,out] | obs | The Obs struct to allocate |
◆ dealloc_coef()
void dealloc_coef |
( |
Obs * |
obs | ) |
|
Deallocate Obs.coef substructure.
Sub part of SetDealloc function. The function is splitted for readability purpose
- Parameters
-
[in,out] | obs | The Obs struct to allocate |
◆ dealloc_elast()
void dealloc_elast |
( |
Obs * |
obs | ) |
|
Deallocate Obs.elast substructure.
Sub part of SetDealloc function. The function is splitted for readability purpose
- Parameters
-
[in,out] | obs | The Obs struct to allocate |
◆ dealloc_geom()
void dealloc_geom |
( |
Obs * |
obs | ) |
|
Deallocate Obs.geom substructure.
Sub part of SetDealloc function. The function is splitted for readability purpose
- Parameters
-
[in,out] | obs | The Obs struct to allocate |
◆ dealloc_mouv()
void dealloc_mouv |
( |
Obs * |
obs | ) |
|
Deallocate Obs.mouv substructure.
Sub part of SetDealloc function. The function is splitted for readability purpose
- Parameters
-
[in,out] | obs | The Obs struct to allocate |
◆ SetAlloc()
PetscErrorCode SetAlloc |
( |
Obs * |
obs | ) |
|
Allocate Obs substructure.
- Parameters
-
[in,out] | obs | The Obs struct to allocate |
- Returns
- not used
◆ SetDealloc()
PetscErrorCode SetDealloc |
( |
Obs * |
obs | ) |
|
Deallocate Obs structure.
Sub part of alloc function. The function is splitted for readability purpose
- Parameters
-
[in,out] | obs | The Obs struct to allocate |
- Returns
- not used