Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

Module Keyword Usage

$
0
0

@Obtuya7 wrote:

I’m new to programming in general so please excuse my ignorance. So, I’m trying to get acclimated to module/package building by studying projects on github.

I found that JuliaFEM.jl is implementing what would seem to be an empty module:

module Postprocess
end

include("postprocess_utils.jl")
export calc_nodal_values!, get_nodal_vector, get_nodal_dict, copy_field!,
       calculate_area, calculate_center_of_mass, calculate_second_moment_of_mass,
       extract

include("deprecations.jl")

export SparseMatrixCOO, SparseVectorCOO, optimize!, resize_sparse
export DCTI, DVTI, DCTV, DVTV, CCTI, CVTI, CCTV, CVTV, Increment
export FieldProblem, BoundaryProblem, Problem, Node, Element, Assembly
export Poi1, Seg2, Seg3, Tri3, Tri6, Tri7, Quad4, Quad8, Quad9,
       Tet4, Tet10, Pyr5, Wedge6, Wedge15, Hex8, Hex20, Hex27
export update!, add_elements!, get_unknown_field_name, add!,
       is_field_problem, is_boundary_problem, get_gdofs,
       initialize!, get_integration_points, group_by_element_type,
       get_unknown_field_dimension, get_connectivity
export get_nonzero_rows, get_local_coordinates, inside, IP, get_element_type,
       get_elements, AbstractProblem, IntegrationPoint, filter_by_element_type,
       get_element_id, get_nonzero_columns, resize_sparse, resize_sparsevec

end

The module Postprocess seems to be empty. Is that used for semantics or is there another reason?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 2795

Trending Articles