NasCar
Loading...
Searching...
No Matches
Functions
Alloc.c File Reference

Allocation routines. More...

#include "petscdm.h"
#include "petscksp.h"
#include "petscpc.h"
#include <stdlib.h>
#include "struct.h"
#include "Alloc.h"
Include dependency graph for Alloc.c:

Functions

PetscErrorCode SetAlloc (Obs *obs)
 Allocate Obs substructure.
 
void alloc_mouv (Obs *obs)
 Allocate Obs.mouv substructure.
 
void alloc_coef (Obs *obs)
 Allocate Obs.coef substructure.
 
void alloc_geom (Obs *obs)
 Allocate Obs.geom substructure.
 
void alloc_elast (Obs *obs)
 Allocate Obs.elast substructure.
 
PetscErrorCode SetDealloc (Obs *obs)
 Deallocate Obs structure.
 
void dealloc_mouv (Obs *obs)
 Deallocate Obs.mouv substructure.
 
void dealloc_coef (Obs *obs)
 Deallocate Obs.coef substructure.
 
void dealloc_geom (Obs *obs)
 Deallocate Obs.geom substructure.
 
void dealloc_elast (Obs *obs)
 Deallocate Obs.elast substructure.
 

Detailed Description

Allocation routines.

Version
0.0
Author
Michel Bergmann
Date
2015-11-01

Function Documentation

◆ 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]obsThe 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]obsThe 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]obsThe 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]obsThe 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]obsThe 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]obsThe 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]obsThe 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]obsThe Obs struct to allocate

◆ SetAlloc()

PetscErrorCode SetAlloc ( Obs obs)

Allocate Obs substructure.

Parameters
[in,out]obsThe 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]obsThe Obs struct to allocate
Returns
not used