25#ifndef _WRAPS_C_TFCBOUNDARYCONDITIONS_H_
26#define _WRAPS_C_TFCBOUNDARYCONDITIONS_H_
40 unsigned int SPACE_PERIODIC_X;
41 unsigned int SPACE_PERIODIC_Y;
42 unsigned int SPACE_PERIODIC_Z;
43 unsigned int SPACE_PERIODIC_FULL;
44 unsigned int SPACE_FREESLIP_X;
45 unsigned int SPACE_FREESLIP_Y;
46 unsigned int SPACE_FREESLIP_Z;
47 unsigned int SPACE_FREESLIP_FULL;
55 unsigned int BOUNDARY_PERIODIC;
56 unsigned int BOUNDARY_FREESLIP;
57 unsigned int BOUNDARY_RESETTING;
Handle to a BoundaryCondition instance.
Definition tfCBoundaryConditions.h:64
Enums for kind of individual boundary condition.
Definition tfCBoundaryConditions.h:54
Enums for kind of boundary conditions along directions.
Definition tfCBoundaryConditions.h:39
Handle to a BoundaryConditionsArgsContainer instance.
Definition tfCBoundaryConditions.h:80
Handle to a BoundaryConditions instance.
Definition tfCBoundaryConditions.h:72
Handle to a ParticleType instance.
Definition tfCParticle.h:119
Handle to a Potential instance.
Definition tfCPotential.h:144
HRESULT tfBoundaryConditionsArgsContainer_setVelocity(struct tfBoundaryConditionsArgsContainerHandle *handle, const char *name, tfFloatP_t *velocity)
Set the velocity of a boundary.
HRESULT tfBoundaryCondition_getVelocity(struct tfBoundaryConditionHandle *handle, tfFloatP_t **velocity)
Get the velocity of a boundary condition.
HRESULT tfBoundaryConditionsArgsContainer_init(struct tfBoundaryConditionsArgsContainerHandle *handle)
Initialize an instance.
HRESULT tfBoundaryConditions_getLeft(struct tfBoundaryConditionsHandle *handle, struct tfBoundaryConditionHandle *bchandle)
Get the left boundary condition.
HRESULT tfBoundaryCondition_setVelocity(struct tfBoundaryConditionHandle *handle, tfFloatP_t *velocity)
Set the velocity of a boundary condition.
HRESULT tfBoundaryConditionsArgsContainer_hasValue(struct tfBoundaryConditionsArgsContainerHandle *handle, const char *name, bool *has)
Test whether a boundary has a boundary type value.
HRESULT tfBoundaryConditionsArgsContainer_getValue(struct tfBoundaryConditionsArgsContainerHandle *handle, const char *name, unsigned int *value)
Get the boundary type value of a boundary.
HRESULT tfBoundaryConditionsArgsContainer_setValue(struct tfBoundaryConditionsArgsContainerHandle *handle, const char *name, unsigned int value)
Set the boundary type value of a boundary.
HRESULT tfBoundaryConditions_getFront(struct tfBoundaryConditionsHandle *handle, struct tfBoundaryConditionHandle *bchandle)
Get the front boundary condition.
HRESULT tfBoundaryCondition_getRadius(struct tfBoundaryConditionHandle *handle, tfFloatP_t *radius)
Get the equivalent radius of a boundary condition.
HRESULT tfBoundaryCondition_getId(struct tfBoundaryConditionHandle *handle, int *bid)
Get the id of a boundary condition.
HRESULT tfBoundaryCondition_setPotential(struct tfBoundaryConditionHandle *handle, struct tfParticleTypeHandle *partHandle, struct tfPotentialHandle *potHandle)
Set the potential of a boundary condition for a particle type.
HRESULT tfBoundaryConditions_setPotential(struct tfBoundaryConditionsHandle *handle, struct tfParticleTypeHandle *partHandle, struct tfPotentialHandle *potHandle)
Set the potential on all boundaries for a particle type.
HRESULT tfBoundaryConditionsArgsContainer_setRestore(struct tfBoundaryConditionsArgsContainerHandle *handle, const char *name, tfFloatP_t restore)
Set the restore coefficient of a boundary.
HRESULT tfBoundaryConditions_getTop(struct tfBoundaryConditionsHandle *handle, struct tfBoundaryConditionHandle *bchandle)
Get the top boundary condition.
HRESULT tfBoundaryConditionsArgsContainer_destroy(struct tfBoundaryConditionsArgsContainerHandle *handle)
Destroy an instance.
HRESULT tfBoundaryConditions_getBottom(struct tfBoundaryConditionsHandle *handle, struct tfBoundaryConditionHandle *bchandle)
Get the bottom boundary condition.
HRESULT tfBoundaryConditionsArgsContainer_hasVelocity(struct tfBoundaryConditionsArgsContainerHandle *handle, const char *name, bool *has)
Test whether a boundary has a velocity.
HRESULT tfBoundaryConditionSpaceKind_init(struct tfBoundaryConditionSpaceKindHandle *handle)
Initialize an instance.
HRESULT tfBoundaryCondition_getRestore(struct tfBoundaryConditionHandle *handle, tfFloatP_t *restore)
Get the restore coefficient of a boundary condition.
HRESULT tfBoundaryConditionsArgsContainer_getRestore(struct tfBoundaryConditionsArgsContainerHandle *handle, const char *name, tfFloatP_t *restore)
Get the restore coefficient of a boundary.
HRESULT tfBoundaryConditions_getBack(struct tfBoundaryConditionsHandle *handle, struct tfBoundaryConditionHandle *bchandle)
Get the back boundary condition.
HRESULT tfBoundaryConditionKind_init(struct tfBoundaryConditionKindHandle *handle)
Initialize an instance.
HRESULT tfBoundaryConditionsArgsContainer_getValueAll(struct tfBoundaryConditionsArgsContainerHandle *handle, unsigned int *_bcValue)
Get the boundary type value on all boundaries.
HRESULT tfBoundaryCondition_setRestore(struct tfBoundaryConditionHandle *handle, tfFloatP_t restore)
Set the restore coefficient of a boundary condition.
HRESULT tfBoundaryConditionsArgsContainer_getVelocity(struct tfBoundaryConditionsArgsContainerHandle *handle, const char *name, tfFloatP_t **velocity)
Get the velocity of a boundary.
HRESULT tfBoundaryCondition_setRadius(struct tfBoundaryConditionHandle *handle, tfFloatP_t radius)
Set the equivalent radius of a boundary condition.
HRESULT tfBoundaryConditionsArgsContainer_hasRestore(struct tfBoundaryConditionsArgsContainerHandle *handle, const char *name, bool *has)
Test whether a boundary has a restore coefficient.
HRESULT tfBoundaryConditions_boundedPosition(tfFloatP_t *position)
Enforce boundary conditions on a position.
HRESULT tfBoundaryConditionsArgsContainer_hasValueAll(struct tfBoundaryConditionsArgsContainerHandle *handle, bool *has)
Test whether a value type is applied to all boundaries.
HRESULT tfBoundaryConditions_getRight(struct tfBoundaryConditionsHandle *handle, struct tfBoundaryConditionHandle *bchandle)
Get the right boundary condition.
HRESULT tfBoundaryConditionsArgsContainer_setValueAll(struct tfBoundaryConditionsArgsContainerHandle *handle, unsigned int _bcValue)
Set the boundary type value on all boundaries.
HRESULT tfBoundaryCondition_getNormal(struct tfBoundaryConditionHandle *handle, tfFloatP_t **normal)
Get the normal of a boundary condition.