Input formats

Currently supported input file formats with different models:

File typeSurface modelVolume modelCharges included
HMO
Mcsf
MSMS
OFF
PQR✓ (charges only)
STL

HMO

NESSie.Format.readhmoFunction
readhmo(
    stream::IOStream,
          ::Type{T}=Float64
)

Reads a complete surface model from the given HMO file.

Return type

Model{T, Triangle{T}}

Alias

readhmo(fname::String, ::Type{T}=Float64)

Reads the model using a file name rather than a IOStream object.

source

Mcsf

NESSie.Format.readmcsfFunction
readmcsf(
    stream::IOStream,
          ::Type{T}=Float64;
    # kwargs
    domain::Symbol=:none
)

Reads a volume model from the given GAMer-generated mcsf file.

Note

This file type does not support charge models! Hence, the charge list of the returning Model object is empty and has to be set separately.

Arguments

  • domain Element domain (solute , solvent , or :none)

Return type

Model{T, Tetrahedron{T}}

Aliases

readmcsf(
    fname ::String,
          ::Type{T}=Float64;
    # kwargs
    domain::Symbol=:none
)

Reads the model using a file name rather than a IOStream object.

readmcsf(
    fnameΩ::String,
    fnameΣ::String,
          ::Type{T}=Float64
)

Reads the contents of two separate files (given by name), sets the element domains to or , respectively, and returns a single (merged) Model object.

source

MSMS

NESSie.Format.readmsmsFunction
readmsms(
    vertstream::IOStream,
    facestream::IOStream,
              ::Type{T}=Float64
)

Reads a surface model from the given MSMS-generated .face and .vert files.

Note

This file type does not support charge models! Hence, the charge list of the returning Model object is empty and has to be set separately.

Return type

Model{T, Triangle{T}}

Alias

readmsms(fname::String, ::Type{T}=Float64)

Reads the model using a common file name prefix (fname.{vert,face}) for both files rather than IOStream objects.

source

OFF

NESSie.Format.readoffFunction
readoff(
    stream::IOStream,
          ::Type{T}=Float64
)

Reads a surface model from the given OFF file.

Note

This file type does not support charge models! Hence, the charge list of the returning Model object is empty and has to be set separately.

Specification

http://www.geomview.org/docs/html/OFF.html

Return type

Model{T}

Alias

readoff(fname::String, ::Type{T}=Float64)

Reads the model using a file name rather than a IOStream object.

source

PQR

STL

NESSie.Format.readstlFunction
readstl(
    stream::IOStream,
          ::Type{T}=Float64
)

Reads a surface model from the given STL file.

Note

This file type does not support charge models! Hence, the charge list of the returning Model object is empty and has to be set separately.

Specification

https://fabbers.com/tech/STL_Format

Return type

Model{T, Triangle{T}}

Alias

readstl(
    fname::String,
         ::Type{T}=Float64
)

Reads the model using a file name rather than an IOStream object.

source