TheBoussinesqModel  3.2.1
 All Data Structures Files Functions Variables Typedefs Macros Pages
b_sources.h File Reference

Go to the source code of this file.

Data Structures

struct  S_TIMES
 

Functions

S_TIMESget_s_times (char *filename, short print)
 
void free_s_times (S_TIMES *s_t)
 
int get_sources (double t, DOUBLEVECTOR *sources)
 
int get_dirichletsnode (double t, DOUBLEVECTOR *dirichlet)
 

Detailed Description

Author
Emanuele Cordano
Attention

This file is part of Boussinesq.

Boussinesq is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Boussinesq is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Boussinesq. If not, see http://www.gnu.org/licenses/.

Definition in file b_sources.h.

Function Documentation

void free_s_times ( S_TIMES s_t)
Author
Emanuele Cordano
Date
29 May 2008

Definition at line 166 of file b_sources.c.

References free_doublevector(), free_stringbin(), S_TIMES::s_suffixes, and S_TIMES::times.

Referenced by time_loop().

S_TIMES* get_s_times ( char *  filename,
short  print 
)
Author
Emanuele Cordano
Date
29 May 2009
Parameters
filename(char *)
print(short)

Definition at line 127 of file b_sources.c.

References st::index, LONGVECTOR::nh, DOUBLEVECTOR::nh, DOUBLEVECTOR::nl, read_doublearray(), read_index(), read_stringarray(), S_TIMES::s_suffixes, t_error(), t_fclose(), t_fopen(), and S_TIMES::times.

Referenced by time_loop().

int get_sources ( double  t,
DOUBLEVECTOR sources 
)