read_mesh: Read a file in a msh2 format

Description Usage Arguments Value

Description

The function reads a .msh2 file and store it in a list. The function uses scan and read.table functions.

Usage

1
read_mesh(name, head_rows = 4)

Arguments

name

A string with a name of the file to read. The file name is relative to a working directory.

head_rows

A number of rows containing introductory information. The default value is 4.

Value

The output list contains: a head of the file ($head), mesh points ($coord) and a file tail ($tail).


kmarchlewski/morphfoil documentation built on Oct. 8, 2020, 5:34 p.m.