flow_bc.h File Reference
#include <stddef.h>
Include dependency graph for flow_bc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FlowBoundaryConditions
 

Enumerations

enum  FlowBCType { BC_NOFLOW , BC_PRESSURE , BC_FLUX_TOTVOL }
 

Functions

struct FlowBoundaryConditionsflow_conditions_construct (size_t nbc)
 
void flow_conditions_destroy (struct FlowBoundaryConditions *fbc)
 
int flow_conditions_append (enum FlowBCType type, int face, double value, struct FlowBoundaryConditions *fbc)
 
int flow_conditions_append_multi (enum FlowBCType type, size_t nfaces, const int *faces, double value, struct FlowBoundaryConditions *fbc)
 
void flow_conditions_clear (struct FlowBoundaryConditions *fbc)
 

Enumeration Type Documentation

◆ FlowBCType

enum FlowBCType
Enumerator
BC_NOFLOW 
BC_PRESSURE 
BC_FLUX_TOTVOL 

Function Documentation

◆ flow_conditions_append()

int flow_conditions_append ( enum FlowBCType  type,
int  face,
double  value,
struct FlowBoundaryConditions fbc 
)

◆ flow_conditions_append_multi()

int flow_conditions_append_multi ( enum FlowBCType  type,
size_t  nfaces,
const int *  faces,
double  value,
struct FlowBoundaryConditions fbc 
)

◆ flow_conditions_clear()

void flow_conditions_clear ( struct FlowBoundaryConditions fbc)

◆ flow_conditions_construct()

struct FlowBoundaryConditions * flow_conditions_construct ( size_t  nbc)

◆ flow_conditions_destroy()

void flow_conditions_destroy ( struct FlowBoundaryConditions fbc)