Procedures

ProcedureLocationProcedure TypeDescription
alpha ply_split_legendre_module Function

Coefficient alpha from the recursive formulation of Legendre polynomials, for the Legendre mode 'mode'.

Read more…
alpha_beta ply_split_legendre_module Function

Prodcut of alpha(numerator) * beta(denominator) / alpha(denominator) as needed by the Clenshaw algorithm in ply_split_legendre_matrix.

alpha_frac ply_split_legendre_module Function

Quotient of two alpha values.

Read more…
append_CanoNDBoxToSdrBox sdr_canonicalND_module Subroutine

This routine convert plane to triangle and add triangle to growing array and add position of triangle into spatialObj%primitive_position

append_CanoNDBoxToTriangle sdr_canonicalND_module Subroutine

This routine convert box to planes and then planes to triangles and add triangle to growing array and add position of triangle into spatialObj%primitive_position

append_CanoNDLineToSdrLine sdr_canonicalND_module Subroutine

This routine convert canonical line to seeder line array

append_CanoNDPlaneToTriangle sdr_canonicalND_module Subroutine

This routine convert plane to triangle and add triangle to growing array and add position of triangle into spatialObj%primitive_position

append_CanoNDPointToSdrPoint sdr_canonicalND_module Subroutine

This routine convert canonical point to seeder point array

append_cylinder2SpaObj sdr_cylinder_module Subroutine

This routine single cylinder from object table

assignment(=) ply_prj_header_module Interface
assignment(=) ply_legFpt_module Interface
assignment(=) ply_l2p_header_module Interface
assignment(=) ply_l2p_module Interface
assignment(=) ply_fpt_header_module Interface
assignment(=) ply_fxt_header_module Interface
assignment(=) ply_nodes_header_module Interface
beta ply_split_legendre_module Function

Coefficient beta from the recursive formulation of Legendre polynomials, for the Legendre mode 'mode'.

Read more…
check_bndLevel sdr_refinePT_module Subroutine

This routine checks if neighbor node with intersected boundary is level higher than current node level.

Read more…
Copy_fpt ply_legFpt_module Subroutine
Copy_fpt_header ply_fpt_header_module Subroutine

Copy the FPT header information.

Copy_fxt_header ply_fxt_header_module Subroutine
Copy_l2p_header ply_l2p_header_module Subroutine
Copy_nodes_header ply_nodes_header_module Subroutine
Copy_ply_l2p ply_l2p_module Subroutine
Copy_poly_proj_header ply_prj_header_module Subroutine
create_children sdr_refinePT_module Subroutine

This routine append 8 children to protoTree and inherit property bits from parent. leaf bit is removed from parent.

create_children sdr_protoTree_module Subroutine

This routine creates children for each parent if children intersect with boundary object.

Read more…
create_target sdr_proto2treelm_module Subroutine

Routine to create an element with subelement resolution.

Read more…
flood_parents sdr_flooding_module Subroutine

Mark all virtual nodes, which contain a flooded child as flooded starting from the second finest level moving up to the root. This allows to easily avoid non-flooded domains later on.

flood_periphery sdr_flooding_module Subroutine

This routine loops over all intersected with geoemtry nodes and fluidify some node according to the following rule:\n 1. one of its link does noe intersect with any geometry that requires qVal 2. it has fluid neighbor on that direction. i.e. it is wet in that side. Jiaxing Qi

Read more…
flood_periphery_diagonal sdr_flooding_module Subroutine

This routine checks for qVal of the periphery and floods if qVal < 0 and the node in that direction is fluid and not intersected by boundary

floodwaves_tree sdr_flooding_module Subroutine

This routine loop over all nodes are flood non-interesting leaf node with wet face and inherit the wetness of the virtual node to the eligble childrens

Read more…
get_sampled_element ply_sampling_adaptive_module Subroutine

Get sampled data.

Read more…
getBCID_and_calcQval sdr_boundary_module Subroutine

This routine gets minBCID of the given node position in the protoTree. If the minBcid is periodic then it bcID is set to treeID of fluid node on the opposite side of periodic plane. It also computes the qVal if calc_dist = true. If qVal = -1 then there is no intersection and if qVal > 1 then the geometry is intersected after the link distance.

Read more…
getNormal sdr_boundary_module Function

Obtain the surface normal of the chosen boundary if the boundary has store_normal set. Otherwise a null vector is returned.

getTreeIDPosOfCoord sdr_boundary_module Function

This function returns the position of treeID of given coordReal in the the given mesh Start from minLevel which is the level of neighbor and find the treeID which is a leaf in protoTree

inHerit_intersectedObject sdr_refinePT_module Subroutine

This routine inherit the intersected boundary objects from parent to childrens

Read more…
is_intersecting sdr_geometry_module Function

Test the intersection between the given cube and the object specified by obj_pos.

Read more…
isEqual ply_prj_header_module Function

This function provides the test for equality of the header for two projections.

Read more…
isEqual ply_l2p_header_module Function

This function provides the test for equality of two projections.

Read more…
isEqual ply_fpt_header_module Function

This function provides the test for equality of two projections.

Read more…
isEqual ply_fxt_header_module Function

This function provides the test for equality of two projections.

Read more…
isEqual ply_nodes_header_module Function

This function provides the test for equality of two nodes descriptions.

isGreater ply_prj_header_module Function

This function provides a > comparison of the header of two projections.

Read more…
isGreater ply_l2p_header_module Function

This function provides a > comparison of two projections.

Read more…
isGreater ply_fpt_header_module Function

This function provides a > comparison of two projections.

Read more…
isGreater ply_fxt_header_module Function

This function provides a > comparison of two projections.

Read more…
isGreater ply_nodes_header_module Function

This function provides a > comparison of nodes descriptions.

isGreaterOrEqual ply_prj_header_module Function

This function provides a >= comparison of the header of two projections.

Read more…
isGreaterOrEqual ply_l2p_header_module Function

This function provides a >= comparison of two projections.

Read more…
isGreaterOrEqual ply_fpt_header_module Function

This function provides a >= comparison of two projections.

Read more…
isGreaterOrEqual ply_fxt_header_module Function

This function provides a >= comparison of two projections.

Read more…
isGreaterOrEqual ply_nodes_header_module Function

This function provides a >= comparison of two nodes descriptions.

isSmaller ply_prj_header_module Function

This function provides a < comparison of the header of two projections.

Read more…
isSmaller ply_l2p_header_module Function

This function provides a < comparison of two projections.

Read more…
isSmaller ply_fpt_header_module Function

This function provides a < comparison of two projections.

Read more…
isSmaller ply_fxt_header_module Function

This function provides a < comparison of two projections.

Read more…
isSmaller ply_nodes_header_module Function

This function provides a < comparison of two nodes descriptions.

isSmallerOrEqual ply_prj_header_module Function

This function provides a <= comparison of the header of two projections.

Read more…
isSmallerOrEqual ply_l2p_header_module Function

This function provides a <= comparison of two projections.

Read more…
isSmallerOrEqual ply_fpt_header_module Function

This function provides a <= comparison of two projections.

Read more…
isSmallerOrEqual ply_fxt_header_module Function

This function provides a <= comparison of two projections.

Read more…
isSmallerOrEqual ply_nodes_header_module Function

This function provides a <= comparison of two nodes descriptions.

isUnequal ply_prj_header_module Function

This function provides the test for unequality of the header of two projections.

Read more…
isUnequal ply_l2p_header_module Function

This function provides the test for unequality of two projections.

Read more…
isUnequal ply_fpt_header_module Function

This function provides the test for unequality of two projections.

Read more…
isUnequal ply_fxt_header_module Function

This function provides the test for unequality of two projections.

Read more…
isUnequal ply_nodes_header_module Function

This function provides the test for unequality of two nodes descriptions.

load_single_fill sdr_subres_fills_module Subroutine

Load the value fill definition for a single color.

Read more…
mark_leafNode sdr_protoTree_module Subroutine

Small helping routine to keep track of leaf nodes.

Read more…
needCalcQValByBCID sdr_boundary_module Function

This routine checks if a boundary need calc qVal for a given BCID It is used in identify_boundary routine

needFldDglByBCID sdr_boundary_module Function

This routine checks if a boundary need flood periphery for diagonal directions for a given BCID. It is used in identify_boundary routine

operator(/=) ply_prj_header_module Interface
operator(/=) ply_l2p_header_module Interface
operator(/=) ply_fpt_header_module Interface
operator(/=) ply_fxt_header_module Interface
operator(/=) ply_nodes_header_module Interface
operator(<) ply_prj_header_module Interface
operator(<) ply_l2p_header_module Interface
operator(<) ply_fpt_header_module Interface
operator(<) ply_fxt_header_module Interface
operator(<) ply_nodes_header_module Interface
operator(<=) ply_prj_header_module Interface
operator(<=) ply_l2p_header_module Interface
operator(<=) ply_fpt_header_module Interface
operator(<=) ply_fxt_header_module Interface
operator(<=) ply_nodes_header_module Interface
operator(==) ply_prj_header_module Interface
operator(==) ply_l2p_header_module Interface
operator(==) ply_fpt_header_module Interface
operator(==) ply_fxt_header_module Interface
operator(==) ply_nodes_header_module Interface
operator(>) ply_prj_header_module Interface
operator(>) ply_l2p_header_module Interface
operator(>) ply_fpt_header_module Interface
operator(>) ply_fxt_header_module Interface
operator(>) ply_nodes_header_module Interface
operator(>=) ply_prj_header_module Interface
operator(>=) ply_l2p_header_module Interface
operator(>=) ply_fpt_header_module Interface
operator(>=) ply_fxt_header_module Interface
operator(>=) ply_nodes_header_module Interface
ply_alpha ply_poly_transformation_module Function

Coefficients from the recursive formulation of legendre polynomials. L_n = alpha * x * L_n-1 + beta * L_n-2

ply_alpha_beta ply_poly_transformation_module Function

Prodcut of alpha(numerator) * beta(denominator) / alpha(denominator)

ply_alpha_frac ply_poly_transformation_module Function

Quotient of two alpha values.

ply_beta ply_poly_transformation_module Function

Coefficients from the recursive formulation of legendre polynomials. L_n = alpha * x * L_n-1 + beta * L_n-2

ply_dofToQPoly ply_LegPolyProjection_module Subroutine

Subroutine to convert linearized dof index to ansatz function number for Q-Polynomials.

ply_filter_element_load ply_filter_element_module Subroutine

Loading parameters for the filtering from the configuration script. This needs to be performed before any call of the actual transformation ply_split_element_1D.

Read more…
ply_filter_element_oddfract ply_filter_element_module Subroutine

Filter a polynomial representation in elements in one dimension according to its odd mode fraction.

Read more…
ply_filter_oddfract_1D ply_filter_element_module Subroutine

Filter one-dimensional elements of degree element_degree.

ply_filter_oddfract_2D ply_filter_element_module Subroutine

Filter two-dimensional elements of degree element_degree.

ply_filter_oddfract_3D ply_filter_element_module Subroutine

Filter three-dimensional elements of degree element_degree.

ply_fpt_header_define ply_fpt_header_module Subroutine

Define settings for the Fast Polynomial Transformation.

ply_fpt_header_display ply_fpt_header_module Subroutine

Print the FPT settings to the log output.

ply_fpt_header_load ply_fpt_header_module Subroutine

Read the FPT configuration options from the provided Lua script in conf.

ply_fpt_header_out ply_fpt_header_module Subroutine

Write FPT settings into a Lua table.

ply_fptm2n ply_legFpt_module Interface
ply_fptn2m ply_legFpt_module Interface
ply_fxt_header_display ply_fxt_header_module Subroutine
ply_fxt_header_load ply_fxt_header_module Subroutine

Load settings to describe a projection method from a Lua table.

Read more…
ply_fxt_header_out ply_fxt_header_module Subroutine

Write FXT settings into a Lua table.

ply_fxt_m2n_1D ply_fxt_module Subroutine

Convert modal data to nodal data in 1D using flpt.

Read more…
ply_fxt_m2n_2D ply_fxt_module Subroutine

Convert modal data to nodal data in 2D using flpt.

ply_fxt_m2n_3D ply_fxt_module Subroutine

Convert modal data to nodal data in 3D using flpt.

ply_fxt_n2m_1D ply_fxt_module Subroutine

Convert nodal data to modal data using flpt.

Read more…
ply_fxt_n2m_2D ply_fxt_module Subroutine
ply_fxt_n2m_3D ply_fxt_module Subroutine
ply_gauleg ply_LegPolyProjection_module Subroutine

subroutine to create gauss points and weights for one-dimensional integration on the interval [x1,x2].

ply_gaussLegPoints ply_space_integration_module Subroutine

Create Gauss-Legendre integration points and weights for one-dimensional integration on the interval [x1,x2].

ply_init_fxt ply_fxt_module Subroutine

Initialize the flpt data structure for fast legendre polynomial transformation via the fxtpack.

ply_init_l2p ply_l2p_module Subroutine

Initialize the transformations via L2 projections.

ply_init_legFpt ply_legFpt_module Subroutine

Subroutine to initialize the fast polynomial transformation for Legendre expansion.

Read more…
ply_initQLegProjCoeff ply_LegPolyProjection_module Subroutine

Routine to initialize the projection coefficients for a usage in the subsampling routine to project degrees of freedoms of a parent cell to the degrees of freedoms of a child cell if the degrees of freedoms are Q-Legendre polynomials.

ply_l2_projection ply_l2p_module Subroutine

Actual implementation of the matrix operation to change between nodal and modal representations.

Read more…
ply_l2p_header_define ply_l2p_header_module Subroutine
ply_l2p_header_display ply_l2p_header_module Subroutine
ply_l2p_header_load ply_l2p_header_module Subroutine

Load settings to describe a projection method from a Lua table.

ply_l2p_header_out ply_l2p_header_module Subroutine

Write L2P settings into a Lua table.

ply_l2p_trafo_1D ply_l2p_module Subroutine

Transformation between modal and nodal values in 1D via L2 projection.

ply_l2p_trafo_2D ply_l2p_module Subroutine

Transformation between modal and nodal values in 2D via L2 projection.

ply_l2p_trafo_3D ply_l2p_module Subroutine

Transformation between modal and nodal values in 3D via L2 projection.

ply_lagrange_1D ply_lagrange_module Function
ply_lagrange_define ply_lagrange_module Function

Define a new polynomial in the Lagrange basis.

ply_lagrange_eval ply_lagrange_module Function

Evaluate a polynomial in the Lagrange basis at some point x.

ply_lagrange_mode_at ply_lagrange_module Function

Evaluate the given Lagrangian mode (which is 1 at coord(mode) and 0 in all other points) at a given point x.

ply_legser ply_legser_module Subroutine

Subroutine to convert Chebyshev (A) to Legendre (B) coefficients.

Read more…
ply_legToPnt_lobatto_single ply_legFpt_module Subroutine

Subroutine to transform Legendre expansion to point values at Chebyshev-Lobatto nodes.

ply_legToPnt_lobatto_vec ply_legFpt_module Subroutine

Vectorizing subroutine to transform Legendre expansion to point values at Chebyshev-Lobatto nodes.

ply_legToPnt_single ply_legFpt_module Subroutine

Subroutine to transform Legendre expansion to point values at Chebyshev nodes.

ply_legToPnt_vec ply_legFpt_module Subroutine

Vectorizing subroutine to transform Legendre expansion to point values at Chebyshev nodes.

ply_legVal ply_LegPolyProjection_module Function

Evaluate a given set of Legendre polynomials a given set of 1D points.

ply_nodes_create ply_nodes_module Subroutine

Initialize points with the Chebyshev quadrature points, 3D

ply_nodes_surface_coords ply_nodes_module Subroutine

Create the integration points on the surface of (cubical) elements.

ply_nodes_volume_coords ply_nodes_module Subroutine

Create multidimensional points from given 1D set of nodes in the cubic reference element.

Read more…
ply_nodeset_chebyloba ply_nodeset_module Function

Generates a given number of Chebyshev-Lobatto points on the unit interval [-1;+1].

ply_nodeset_chebyshev ply_nodeset_module Function

Generates a given number of Chebyshev points on the unit interval [-1;+1].

ply_nodeset_coords ply_nodeset_module Interface
ply_nodeset_legendre ply_nodeset_module Function

Compute Gauss-Legendre integration points on the interval [-1,1].

ply_pntToLeg_lobatto_single ply_legFpt_module Subroutine

Subroutine to transform point values at Chebyshev-Lobatto nodes to a Legendre expansion.

ply_pntToLeg_lobatto_vec ply_legFpt_module Subroutine

Vectorizing subroutine to transform point values at Chebyshev-Lobatto nodes to a Legendre expansion.

ply_pntToLeg_single ply_legFpt_module Subroutine

Subroutine to transform point values at Chebyshev nodes to a Legendre expansion.

ply_pntToLeg_vec ply_legFpt_module Subroutine

Vectorizing subroutine to transform point values at Chebyshev nodes to a Legendre expansion.

ply_point_tensor ply_nodes_module Subroutine

Compute a multi-dimensional tensor for the given set of nodes.

ply_Poly_Transformation ply_poly_transformation_module Subroutine

Projection of polynomial data from parent elements to child elements. The projection is done by a direct transformation of the modal coeffiecients to another coordinate system with z=ax+b.

ply_prj_header_load ply_prj_header_module Subroutine

Load settings to describe a projection method from a Lua table.

ply_prj_header_out ply_prj_header_module Subroutine

Load settings to describe a projection method from a Lua table.

ply_projDataToChild ply_LegPolyProjection_module Subroutine

Subroutine to project elemental data from a parent cell to one of its children.

ply_projDataToChild ply_poly_transformation_module Subroutine

Subroutine to project element data from a parent cell to its children.

ply_QLegOneDimCoeff ply_LegPolyProjection_module Function

Routine to create one-dimensional projection coefficient for a coarse element to a fine element.

ply_QLegSqNorm ply_LegPolyProjection_module Function

Function to calculate the squared L2-Norm of a given Legendre polynomial on the reference element [-1,+1].

ply_QPolyProjection ply_LegPolyProjection_module Subroutine

Subsampling by L2-Projection of the Q-Tensorproduct Legendre polynomials.

ply_sample_adaptive ply_sampling_adaptive_module Subroutine

Sample data described by varsys in orig_mesh according to the tracking object trackInst with adaptive refinements.

Read more…
ply_sampled_track_init ply_sampled_tracking_module Subroutine

Initialize the sampled tracking entities.

Read more…
ply_sampled_track_output ply_sampled_tracking_module Subroutine

Output sampled tracking data.

Read more…
ply_sampled_tracking_load ply_sampled_tracking_module Subroutine

Load the configuration of sampled tracking objects.

ply_sampling_adaptive_load ply_sampling_adaptive_module Subroutine

Load the configuration for adaptive subsampling.

ply_sampling_var_allocate ply_sampling_varsys_module Subroutine

Allocate memory for a sampled variable.

ply_sampling_var_compute_elemdev ply_sampling_varsys_module Subroutine

This routine computes for each element whether the solution in it is considered to be deviating from the mean above the given threshold or not. The logical result is stored in var%deviates for each element.

Read more…
ply_sampling_var_move ply_sampling_varsys_module Subroutine

Move the variable data from source to destination.

Read more…
ply_sampling_varsys_for_track ply_sampling_varsys_module Subroutine

Create a variable system for the given tracking instance.

ply_split_element_1D ply_split_element_module Subroutine

Split one-dimensional elements of degree parent_degree into two elements with polynomials of degree child_degree.

ply_split_element_1D_test ply_split_element_module Subroutine

Testing the 1D splitting.

Read more…
ply_split_element_2D ply_split_element_module Subroutine

Split two-dimensional elements of degree parent_degree into four elements with polynomials of degree child_degree.

ply_split_element_2D_test ply_split_element_module Subroutine

Testing the 2D splitting.

Read more…
ply_split_element_3D ply_split_element_module Subroutine

Split three-dimensional elements of degree parent_degree into eight elements with polynomials of degree child_degree.

ply_split_element_3D_test ply_split_element_module Subroutine

Testing the 3D splitting.

Read more…
ply_split_element_init ply_split_element_module Subroutine

Initialization of the module. This needs to be performed before any call of the actual transformation ply_split_element_1D.

Read more…
ply_split_element_singleD ply_split_element_module Subroutine

Project a polynomial representation in elements in one dimension to its two halves in that direction.

Read more…
ply_split_element_test ply_split_element_module Subroutine

Testing routine for the functions of this module.

ply_split_legendre_matrix ply_split_legendre_module Function

Compute the transformation matrix for a projection to the left and right half-interval of Legendre polynomials for the given maximal number of modes.

Read more…
ply_split_legendre_test ply_split_legendre_module Subroutine

A small testing routine to check the functions of this module.

ply_subres_get_elemcolor ply_subresolution_module Subroutine

Get the color of an element.

Read more…
ply_subres_import_color ply_subresolution_module Subroutine

Get the subresolution data for all elements for a given color and in the requested format.

ply_subresolution_load ply_subresolution_module Subroutine

Subroutine to load subresolution information for a given tree.

ply_subsampleData ply_LegPolyProjection_module Subroutine

Routine to subsample mesh information for one refinement level.

ply_subsampleData ply_poly_transformation_module Subroutine
ply_transform_matrix ply_poly_transformation_module Subroutine

Compute the transformation matrix for a projection to the left and right half-interval of Legendre polynomials for the given maximal number of modes.

Read more…
projectVecOnPlane sdr_boundary_module Function

This function project given vector on an given plane

Read more…
proto2Treelm sdr_proto2treelm_module Subroutine

Routine to convert protoTree to Treelm data format. append all leaves to the temData%treeID

Read more…
protoData_ofNode sdr_protoTree_module Function

Small helping routine to get the variable data from a leaf.

sdr_addTimers sdr_timer_module Subroutine

Setup timers to assess the runtime of various parts of Seeder

sdr_append_distanceRefineObject sdr_geometry_module Subroutine

This routine created sphere objects and new attribute and extend a list of spatial objects if node intersected boundary has distance refine.

sdr_build_protoTree sdr_protoTree_module Subroutine

This routine builds the preliminary tree with geometry intersection and neighbor identification

sdr_color_points sdr_proto2treelm_module Subroutine

Get the color at all given points.

Read more…
sdr_dump_treelm sdr_proto2treelm_module Subroutine

This routine dumps the final fluid tree leaves in the disk

sdr_dumptimers sdr_timer_module Subroutine

Performance results are written to a file for statistical review

Read more…
sdr_find_periodic_neighbor sdr_boundary_module Subroutine

This routine find the treeID on the opposite side neighbor of the periodic plane for current leaf node

Read more…
sdr_flood_tree sdr_flooding_module Subroutine

This routine identifies the nodes, which are supposed to be part of the computational domain, as defined by the seed objects.

Read more…
sdr_hvs_config_load sdr_hvs_config_module Subroutine

Read the configuration for the Seeder harvesting from a Lua script.

sdr_hvs_props_clean sdr_hvs_props_module Subroutine

Clean up the properties data type.

Read more…
sdr_hvs_props_import_dofs sdr_hvs_props_module Subroutine

Import subresolved color data.

sdr_hvs_props_load sdr_hvs_props_module Subroutine

Load the properties from the mesh.

sdr_identify_boundary sdr_boundary_module Subroutine

This routine checks for boundary neighbors and level of the boundary node

Read more…
sdr_inHerit_distanceRefineObject sdr_refinePT_module Subroutine

This routines inherit distance refine sphere object from root node down to leaf node. Only the object with level greater than node level are inHerited

sdr_init_global sdr_aux_module Subroutine

Prominently let the user now, what he actually is running right now.

Read more…
sdr_load_canonicalND sdr_canonicalND_module Subroutine

This routine loads canonical geometrial objects like point, line, plane and box and add them to the growing array of each primitive geometries and the position of this geometries are stored in the growing array of spatialObject

sdr_load_config sdr_config_module Subroutine

Load the configuration from the Lua script provided on the command line or from seeder.lua by default, if no file name is given as program argument.

Read more…
sdr_load_cube sdr_cube_module Subroutine

This routine loads the boundCube table from config file

sdr_load_cylinder sdr_cylinder_module Subroutine

\brief Loading cylinder information from config file \n

sdr_load_deformation sdr_transformation_module Subroutine

This routine loads the deformation table from transformation table

sdr_load_ellipsoid sdr_ellipsoid_module Subroutine

Load ellipsoid information from config file.

sdr_load_geom_table sdr_geometry_module Subroutine

This routine loads the geometry table from the config file i.e loading different geometry kinds like canoND, cube, periodic, STL etc.

sdr_load_geom_table_single sdr_geometry_module Subroutine

This routine reads a single geometry table from the config file i.e loading different geometry kinds like canoND, cube, periodic, STL etc.

sdr_load_geometry sdr_geometry_module Subroutine

Routine to load spatial object defined in config file and store in geometry type

sdr_load_inverted sdr_config_module Subroutine
sdr_load_spatialObject_single sdr_geometry_module Subroutine

Routine to load single spatial object table defined in config file

sdr_load_sphere sdr_sphere_module Subroutine

Load sphere information from config file.

sdr_load_stl sdr_stl_module Subroutine

This routine loads STL files from config and reads the triangles from the files into the dynamic array of triangles.

sdr_load_transformation sdr_transformation_module Subroutine

This routine loads the transformation table for each spatial object table in config file

Read more…
sdr_load_translation sdr_transformation_module Subroutine

This routine loads the translation table from transformation table

sdr_load_triangle sdr_triangle_module Subroutine

Load triangle information from config file.

sdr_mark_neighborHasBnd sdr_protoTree_module Subroutine

This routine marks 26 direct neighbors as has boundary bit

sdr_neighbor_in_proto sdr_protoTree_module Function

Find the neighbor position in protoTree for iDir on the same level or on any one above.

sdr_node_neighbors sdr_protoTree_module Function

This routine identifies the 6 direct neighbors of a node in the prototree

Read more…
sdr_proto2treelm sdr_proto2treelm_module Subroutine

This subroutine creates the treelmesh from the flooded prototree.

Read more…
sdr_qValByNode sdr_boundary_module Subroutine

This routine computes the minimum distance of a given link and all the geometries in a given node:\n the link is given by a vector and a origin point.\n the node is given by the node position in the protoTree.\n If there is no intersection, qVal returns -1.0

sdr_refine_leaf sdr_refinePT_module Subroutine

This routine extends the protoTree with max of minlevel or level of refinement object.

Read more…
sdr_smooth_leaf sdr_refinePT_module Subroutine

This routine smoothens fluid domain with maximum level jumps of 1.

Read more…
sdr_subres_fills_add sdr_subres_fills_module Subroutine

Add a value definition for a color to the list of fillings.

sdr_subres_fills_load sdr_subres_fills_module Subroutine

Load the filling definition for subresolved colors.

Read more…
sdr_subresolution_encolor sdr_subresolution_module Subroutine

Find the value definitions for all unique colors.

sdr_subresolution_load sdr_subresolution_module Subroutine

Loading the settings for the subresolution in the mesh.

sdr_transformcanoND sdr_transformation_module Interface

This routine apply transformations to canonical objects

sdr_truncate_qVal sdr_boundary_module Subroutine

This routine gives special treatment when qVal > 1.0 or qVal == -1.0 for flooded neighbor, treat it as normal fluid: clean BCID, set qVal to -1 (no itersection). for non-flooded neighbor, treat it as high order wall: set qVal to 1

sdr_write_proto_as_restart sdr_protoTree_module Subroutine

Write current leaves of the prototree as treelm restart.

Read more…
subres_load_color_defaults sdr_subresolution_module Subroutine

Internal subroutine to load the list of colors, which by default should apply subelement resolution to its boundaries.

Read more…
transformCanoND sdr_transformation_module Subroutine

This routine apply transformation to canonical objects.

transformCanoND_single sdr_transformation_module Subroutine

This routine apply transformation to canonical objects.

traverse_tree sdr_proto2treelm_module Subroutine

Recursively traverse the tree in a depth first manner to obtain the the ordering required by treelm.

Read more…
write_childLeaves sdr_protoTree_module Subroutine

Small helping routine to write leaves in order into a treelmesh formatted file.